Skip to content

Commit

Permalink
Merge pull request #3771 from mikemccracken/2018-01-18/fix-json-example
Browse files Browse the repository at this point in the history
website: fix example json job
  • Loading branch information
dadgar authored Jan 18, 2018
2 parents f975128 + 58a270c commit f38967f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/source/api/json-jobs.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Below is the JSON representation of the job outputted by `$ nomad init`:
"TLSSkipVerify": false,
"CheckRestart": {
"Limit": 3,
"Grace": "30s",
"Grace": 30000000000,
"IgnoreWarnings": false
}
}]
Expand Down Expand Up @@ -114,7 +114,7 @@ Below is the JSON representation of the job outputted by `$ nomad init`:
The example JSON could be submitted as a job using the following:

```text
$ curl -XPUT @d example.json http://127.0.0.1:4646/v1/job/example
$ curl -XPUT -d @example.json http://127.0.0.1:4646/v1/job/example
{
"EvalID": "5d6ded54-0b2a-8858-6583-be5f476dec9d",
"EvalCreateIndex": 12,
Expand Down

0 comments on commit f38967f

Please sign in to comment.