Merge pull request #3771 from mikemccracken/2018-01-18/fix-json-example

website: fix example json job
This commit is contained in:
Alex Dadgar
2018-01-18 13:05:32 -08:00
committed by GitHub

View File

@@ -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
}
}]
@@ -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,