From 1430a83f47d9e3ac0d833576b62a56eefaf61821 Mon Sep 17 00:00:00 2001 From: Danilo Akamine Date: Wed, 20 Nov 2024 16:31:00 -0500 Subject: [PATCH] Fix example in docs --- docs/custom-load-shape.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/custom-load-shape.rst b/docs/custom-load-shape.rst index 12d843b399..c5b6ea3612 100644 --- a/docs/custom-load-shape.rst +++ b/docs/custom-load-shape.rst @@ -29,7 +29,7 @@ This shape class will increase user count in blocks of 100 and then stop the loa if run_time < self.time_limit: # User count rounded to nearest hundred. user_count = round(run_time, -2) - return (user_count, spawn_rate) + return (user_count, self.spawn_rate) return None