Skip to content

Commit

Permalink
fix: update comment to reflect the required argument (#11363)
Browse files Browse the repository at this point in the history
  • Loading branch information
iennae committed Mar 27, 2024
1 parent d0353cb commit 7cd79ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run/jobs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def random_failure(rate):
"""Throws an error based on fail rate
Args:
rate: an integer between 0 and 1
rate: a float between 0 and 1
"""
if rate < 0 or rate > 1:
# Return without retrying the Job Task
Expand Down

0 comments on commit 7cd79ec

Please sign in to comment.