mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
docs: fix job json example (#5274)
The internal needs to be long enough to accomodate the attempts. Also, clarify that the input should be a json file rather than an hcl `.nomad` one.
This commit is contained in:
@@ -189,9 +189,9 @@ The table below shows this endpoint's support for
|
||||
"Attempts": 10,
|
||||
"Delay": 30000000000,
|
||||
"DelayFunction": "exponential",
|
||||
"Interval": 0,
|
||||
"Interval": 36000000000000,
|
||||
"MaxDelay": 3600000000000,
|
||||
"Unlimited": true
|
||||
"Unlimited": false
|
||||
},
|
||||
"EphemeralDisk": {
|
||||
"SizeMB": 300
|
||||
@@ -213,7 +213,7 @@ The table below shows this endpoint's support for
|
||||
```text
|
||||
$ curl \
|
||||
--request POST \
|
||||
--data @my-job.nomad \
|
||||
--data @my-job.json \
|
||||
https://localhost:4646/v1/jobs
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user