From 7cd79ecd9e072035c13770a054ea9653a857244f Mon Sep 17 00:00:00 2001 From: Jennifer Davis Date: Tue, 26 Mar 2024 21:01:44 -0700 Subject: [PATCH] fix: update comment to reflect the required argument (#11363) --- run/jobs/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run/jobs/main.py b/run/jobs/main.py index b56b21bdbb6a..72b3bda078bb 100644 --- a/run/jobs/main.py +++ b/run/jobs/main.py @@ -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