mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Fix allocation restart API docs example
This commit is contained in:
committed by
GitHub
parent
dffdc93bf7
commit
eb4ad96953
@@ -697,14 +697,14 @@ The table below shows this endpoint's support for
|
||||
|
||||
```json
|
||||
{
|
||||
"Task": "FOO"
|
||||
"TaskName": "FOO"
|
||||
}
|
||||
```
|
||||
|
||||
### Sample Request
|
||||
|
||||
```shell-session
|
||||
$ curl -X POST -d '{"Task": "redis" }' \
|
||||
$ curl -X POST -d '{"TaskName": "redis" }' \
|
||||
https://localhost:4646/v1/client/allocation/5456bd7a-9fc0-c0dd-6131-cbee77f57577/restart
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user