Skip to content

Commit a214363

Browse files
authored
Merge pull request #2659 from JohnEndson/master
chore: fix some comments
2 parents aaf40a7 + aee9a0f commit a214363

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: docs/custom-load-shape.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ This shape would create create in the first 10 seconds 10 User of ``UserA``. In
101101
Reusing command line parameters in custom shapes
102102
------------------------------------------------
103103

104-
By default, using a custom shape will disable default run paramaters (in both the CLI and the Web UI):
104+
By default, using a custom shape will disable default run parameters (in both the CLI and the Web UI):
105105
- `--run-time` (providing this one with a custom shape will make locust to bail out)
106106
- `--spawn-rate`
107107
- `--users`

Diff for: locust/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def ensure_user_class_name(config):
394394

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

400400
if (

Diff for: locust/webui/src/hooks/useSortByField.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function useSortByField<Row>(
5555

5656
if (sortField === currentSortField.current) {
5757
if (shouldReverse) {
58-
// reset to intial state on 3rd click
58+
// reset to initial state on 3rd click
5959
setShouldReverse(false);
6060
currentSortField.current = undefined;
6161
sortStats(defaultSortKey);

0 commit comments

Comments
 (0)