Skip to content

Commit 499de8b

Browse files
committed
fix: need name___version
1 parent 63e555b commit 499de8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cumulus_lambda_functions/cumulus_wrapper/query_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def delete_sqs_rules(self, new_collection: dict, private_api_prefix: str):
195195
def delete_executions(self, new_collection: dict, private_api_prefix: str):
196196
# $ curl --request DELETE https://example.com/rules/repeat_test --header 'Authorization: Bearer ReplaceWithTheToken'
197197
request_body = {
198-
"collectionId": new_collection["name"],
198+
"collectionId": f'{new_collection["name"]}___{new_collection["version"]}',
199199
"esBatchSize": 100000,
200200
"dbBatchSize": 50000
201201
}

0 commit comments

Comments
 (0)