Skip to content
Snippets Groups Projects
Commit 37d1fd93 authored by Daniel Nemergut's avatar Daniel Nemergut
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 310e8673
No related branches found
No related tags found
2 merge requests!1605Merge 2.8.2.3 work to main,!1504Curator workflow empty value fix
Pipeline #12559 passed
......@@ -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