Skip to content
Snippets Groups Projects
Commit 3753eb77 authored by Daniel Nemergut's avatar Daniel Nemergut Committed by Charlotte Hausman
Browse files

Not populating the data_location and target_list when they aren't passed to...

Not populating the data_location and target_list when they aren't passed to the workflow template, they were causing naughty values
parent 60cc39f2
No related branches found
No related tags found
3 merge requests!1571catch 2.8.2.3 up with main,!15592.8.2.2-DEVELOPMENT into main,!1551Cherry pick partial curation for patch
......@@ -45,13 +45,13 @@ ${SBIN_PATH}/ingest_envoy curate --$2 $1
"""
metadata_json = """{
"product_locator": "{{product_locator}}",
"data_location": "{{data_location}}",
"product_type": "{{product_type}}",
"target_list": ["{{target_list}}"],
"product_locator": "{{product_locator}}",{{#data_location}}
"data_location": "{{data_location}}",{{/data_location}}
"product_type": "{{product_type}}",{{#target_list}}
"target_list": {{target_list}},{{/target_list}}
"projectMetadata": {
"telescope": "{{telescope}}",
"projectCode": "{{project_code}}"
"projectCode": "{{projectCode}}"
}
}
"""
......
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