Skip to content

Commit

Permalink
retry_if_false takes callable (#3220)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford authored Sep 19, 2024
1 parent 4c5b504 commit 11b6634
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def main():
main()
except Exception as e:
# It is possible that agent cgroup can be disabled due to UNKNOWN process or throttled before we run this check, in that case, we should ignore the validation
if check_cgroup_disabled_with_unknown_process() and retry_if_false(check_agent_quota_disabled()):
if check_cgroup_disabled_with_unknown_process() and retry_if_false(check_agent_quota_disabled):
log.info("Cgroup is disabled due to UNKNOWN process, ignoring ext cgroups validations")
else:
raise

0 comments on commit 11b6634

Please sign in to comment.