Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-23342: Fix ingestDriver #346

Merged
merged 2 commits into from Feb 6, 2020
Merged

DM-23342: Fix ingestDriver #346

merged 2 commits into from Feb 6, 2020

Conversation

PaulPrice
Copy link
Contributor

No description provided.

self.register.addRow(registry, info, dryrun=args.dryrun, create=args.create)
except Exception as exc:
raise IngestError(f"Failed to register file {infile}", infile, pos) from exc
return hduInfoList
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend only returning this if registry is None and otherwise returning None if everything has been registered.

This allows ingestion to be done later, as is required by
ingestDriver.
This should make re-ingesting data less painful.
@PaulPrice PaulPrice merged commit 7d27e3e into master Feb 6, 2020
@timj timj deleted the tickets/DM-23342 branch February 18, 2021 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants