Skip to content

Commit

Permalink
Merge pull request #2993 from daniloakamine/fix-custom-shape-doc
Browse files Browse the repository at this point in the history
Fix example in docs
  • Loading branch information
cyberw authored Nov 20, 2024
2 parents dac692d + 1430a83 commit 220a9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/custom-load-shape.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 220a9bf

Please sign in to comment.