Skip to content

Commit bdb2725

Browse files
authored
Merge pull request #22 from NASA-IMPACT/feat/update-promotion-transfer-configuration
feat: update promote dataset to pick up transfer setting and default to false
2 parents 0767ec0 + f1a55a6 commit bdb2725

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/promote_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def promote_to_production(payload):
9292
"Authorization": "Basic " + api_token,
9393
}
9494

95-
payload["conf"]["transfer"] = True
95+
payload["conf"].setdefault("transfer", False)
9696
body = {
9797
**payload,
9898
"dag_run_id": f"{promotion_dag}-{uuid.uuid4()}",

0 commit comments

Comments
 (0)