Skip to content
Snippets Groups Projects
Commit 53e61bf9 authored by Nathan Bockisch's avatar Nathan Bockisch
Browse files

Omit input group from ingestion manifest if it's empty

parent 14131352
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1419Omit input group from ingestion manifest if it's empty
Pipeline #11037 passed
......@@ -178,10 +178,15 @@ class IngestionManifest(ManifestComponentIF):
to_return = {
IngestionManifestKey.PARAMETERS.value: self.parameters.to_json(),
IngestionManifestKey.INPUT_GROUP.value: me_dict[IngestionManifestKey.INPUT_GROUP.value].to_json(),
IngestionManifestKey.OUTPUT_GROUP.value: me_dict[IngestionManifestKey.OUTPUT_GROUP.value].to_json(),
}
# Ingestion manifests with empty input groups can cause errors on ingest
if me_dict[IngestionManifestKey.INPUT_GROUP.value]:
to_return[IngestionManifestKey.INPUT_GROUP.value] = me_dict[
IngestionManifestKey.INPUT_GROUP.value
].to_json()
return to_return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment