Merge pull request #5825 from hashicorp/docs-updated-alloc-examples

documentation: fixed incorrect URLs in allocation signal/restart documentation
This commit is contained in:
Chris Baker 2019-06-12 11:28:05 -04:00 committed by GitHub
commit 6d4e840453
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -612,7 +612,7 @@ This endpoint sends a signal to an allocation or task.
| Method | Path | Produces |
| ------ | -------------------------- | -------------------------- |
| `POST` / `PUT` | `/v1/allocation/:alloc_id/signal` | `application/json` |
| `POST` / `PUT` | `/v1/client/allocation/:alloc_id/signal` | `application/json` |
The table below shows this endpoint's support for
[blocking queries](/api/index.html#blocking-queries) and
@ -656,7 +656,7 @@ This endpoint restarts an allocation or task in-place.
| Method | Path | Produces |
| ------ | -------------------------- | -------------------------- |
| `POST` / `PUT` | `/v1/allocation/:alloc_id/restart` | `application/json` |
| `POST` / `PUT` | `/v1/client/allocation/:alloc_id/restart` | `application/json` |
The table below shows this endpoint's support for
[blocking queries](/api/index.html#blocking-queries) and