From f4f9b5c94b64b3e325031f5ceee5acde50726e4d Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Wed, 21 Jan 2015 11:15:15 -0800 Subject: [PATCH] website: update maintenance mode endpoint --- website/source/docs/agent/http/agent.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/agent/http/agent.html.markdown b/website/source/docs/agent/http/agent.html.markdown index 41bdcc09cd..ca15adebbb 100644 --- a/website/source/docs/agent/http/agent.html.markdown +++ b/website/source/docs/agent/http/agent.html.markdown @@ -20,7 +20,7 @@ The following endpoints are supported: * [`/v1/agent/services`](#agent_services) : Returns the services local agent is managing * [`/v1/agent/members`](#agent_members) : Returns the members as seen by the local serf agent * [`/v1/agent/self`](#agent_self) : Returns the local node configuration -* [`/v1/agent/self/maintenance`](#agent_self_maintenance) : Node maintenance mode +* [`/v1/agent/maintenance`](#agent_maintenance) : Node maintenance mode * [`/v1/agent/join/
`](#agent_join) : Trigger local agent to join a node * [`/v1/agent/force-leave/`](#agent_force_leave)>: Force remove node * [`/v1/agent/check/register`](#agent_check_register) : Registers a new local check @@ -185,7 +185,7 @@ It returns a JSON body like this: } ``` -### /v1/agent/self/maintenance +### /v1/agent/maintenance The node maintenance endpoint allows placing the agent into "maintenance mode". During maintenance mode, the node will be marked as unavailable, and will not be