mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Merge pull request #3771 from mikemccracken/2018-01-18/fix-json-example
website: fix example json job
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user