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

Merge branch 'fix-empty-input-group' into '2.8.2-DEVELOPMENT'

Omit input group from ingestion manifest if it's empty

See merge request !1419
parents 14131352 53e61bf9
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 #11041 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