Skip to content

Commit

Permalink
Update tron/bin/check_tron_jobs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Luis Pérez <luisp@yelp.com>
  • Loading branch information
jfongatyelp and nemacysts authored Feb 13, 2024
1 parent c4a7d8c commit 709533b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tron/bin/check_tron_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def get_relevant_action(*, action_runs, last_state, actions_expected_runtime):
actions_expected_runtime,
):
return action_run
if action_state == "running" or action_state == "starting":
if action_state in {"running", "starting"}:
stuck_action_run_candidate = action_run
return stuck_action_run_candidate or action_runs[-1]

Expand Down

0 comments on commit 709533b

Please sign in to comment.