Skip to content

Commit

Permalink
Merge pull request #2659 from JohnEndson/master
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
cyberw committed Mar 29, 2024
2 parents aaf40a7 + aee9a0f commit a214363
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/custom-load-shape.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ This shape would create create in the first 10 seconds 10 User of ``UserA``. In
Reusing command line parameters in custom shapes
------------------------------------------------

By default, using a custom shape will disable default run paramaters (in both the CLI and the Web UI):
By default, using a custom shape will disable default run parameters (in both the CLI and the Web UI):
- `--run-time` (providing this one with a custom shape will make locust to bail out)
- `--spawn-rate`
- `--users`
Expand Down
2 changes: 1 addition & 1 deletion locust/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def ensure_user_class_name(config):

environment.update_user_class(user_config)
except Exception as e:
logger.error(f"The --config-users arugment must be in valid JSON string or file: {e}")
logger.error(f"The --config-users argument must be in valid JSON string or file: {e}")
sys.exit(-1)

if (
Expand Down
2 changes: 1 addition & 1 deletion locust/webui/src/hooks/useSortByField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function useSortByField<Row>(

if (sortField === currentSortField.current) {
if (shouldReverse) {
// reset to intial state on 3rd click
// reset to initial state on 3rd click
setShouldReverse(false);
currentSortField.current = undefined;
sortStats(defaultSortKey);
Expand Down

0 comments on commit a214363

Please sign in to comment.