Skip to content

Commit

Permalink
Fix/improve "job plan" messaging (#7580)
Browse files Browse the repository at this point in the history
  • Loading branch information
jf authored Apr 17, 2020
1 parent 095c2a9 commit 71744bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion command/job_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
nomad job run -check-index %d %s
When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.`

Expand Down
8 changes: 4 additions & 4 deletions website/pages/docs/commands/job/plan.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ To submit the job with version verification run:
nomad job run -check-index 0 example.nomad

When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.
```
Expand All @@ -109,7 +109,7 @@ To submit the job with version verification run:
nomad job run -check-index 15 example.nomad
When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.
```
Expand All @@ -136,7 +136,7 @@ To submit the job with version verification run:
nomad job run -check-index 7 example.nomad

When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.
```
Expand Down Expand Up @@ -194,7 +194,7 @@ To submit the job with version verification run:
nomad job run -check-index 7 example.nomad
When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.
```
Expand Down
4 changes: 2 additions & 2 deletions website/pages/intro/getting-started/jobs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ To submit the job with version verification run:
nomad job run -check-index 7 example.nomad
When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.
```
Expand Down Expand Up @@ -250,7 +250,7 @@ To submit the job with version verification run:
nomad job run -check-index 1127 example.nomad
When running the job with the check-index flag, the job will only be run if the
server side version matches the job modify index returned. If the index has
job modify index given matches the server-side version. If the index has
changed, another user has modified the job and the plan's results are
potentially invalid.
```
Expand Down

0 comments on commit 71744bc

Please sign in to comment.