Skip to content
Snippets Groups Projects
Commit a3d885d1 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Requiring the capo property and changed the wording to avoid a double negative

parent 5634d2e8
No related branches found
No related tags found
1 merge request!1474Disable NGAS ingest via a capo setting
Pipeline #12170 failed
......@@ -88,11 +88,8 @@ class IngestionManifest(ManifestComponentIF):
self.output_group = output_group
self.telescope = telescope
# Check if NGAS ingestion should be disabled for all manifests in this environment
try:
self.ngas_ingest = not CapoConfig().getboolean("archive-ingestion.skipNGAS")
except (KeyError, ValueError):
self.ngas_ingest = True
# Check if NGAS ingestion should be enabled for all manifests in this environment
self.ngas_ingest = CapoConfig().getboolean("archive-ingestion.ingestNGAS")
self.parameters = self.build_ingest_parameters(additional_metadata)
self.files_found = [file for file in self.staging_source_dir.iterdir()]
......
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