From 53d55ee98ac6bc20749c8fc8cccbf34bda279ef4 Mon Sep 17 00:00:00 2001 From: Charlie Voiselle <464492+angrycub@users.noreply.github.com> Date: Wed, 23 Feb 2022 12:58:29 -0500 Subject: [PATCH] Fixed scheduler config examples (#12049) --- website/content/api-docs/agent.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/content/api-docs/agent.mdx b/website/content/api-docs/agent.mdx index 53e74c877..38196104b 100644 --- a/website/content/api-docs/agent.mdx +++ b/website/content/api-docs/agent.mdx @@ -838,9 +838,7 @@ This endpoint accepts no additional parameters. ```shell-session $ curl \ - --request PUT \ - --data @payload.json \ - https://localhost:4646/v1/jobs + https://localhost:4646/v1/agent/schedulers/config ``` ### Sample Response @@ -892,6 +890,7 @@ The table below shows this endpoint's support for "_core" ], "num_schedulers": 12 + "server_id": "server1.global" } ``` @@ -901,7 +900,7 @@ The table below shows this endpoint's support for $ curl \ --request PUT \ --data @payload.json \ - https://localhost:4646/v1/jobs + https://localhost:4646/v1/agent/schedulers/config ``` ### Sample Response