Skip to content

Commit

Permalink
Merge pull request #604 from umccr/bugfix/rename-pieriandx-complete-s…
Browse files Browse the repository at this point in the history
…tatus

Pieriandx needs 'SUCCEEDED' status as positive terminal status not 'COMPLETE'
  • Loading branch information
alexiswl authored Oct 18, 2024
2 parents f9b52d4 + be29c03 commit f36b5b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def handler(event, context):
# If both the job status and report status are true, then the workflow status is complete
elif JOB_STATUS_BOOL[job_status] is True and REPORT_STATUS_BOOL[report_status] is True:
expression_attribute_values_dict[":workflow_status"] = {
"S": "COMPLETE"
"S": "SUCCEEDED"
}
update_expression_str = f"{update_expression_str}, workflow_status = :workflow_status"

Expand Down Expand Up @@ -294,7 +294,7 @@ def handler(event, context):
# # "BOOL": true
# # },
# # ":workflow_status": {
# # "S": "COMPLETE"
# # "S": "SUCCEEDED"
# # }
# # },
# # "update_expression_str": "SET job_status = :job_status, report_status = :report_status, job_status_bool = :job_status_bool, report_status_bool = :report_status_bool, workflow_status = :workflow_status"
Expand Down

0 comments on commit f36b5b8

Please sign in to comment.