mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 08:56:43 +00:00
Update agent.html.markdown
The documentation was not clear and I had to try with the cli to figure it out.
This commit is contained in:
parent
03c806a901
commit
14abdbf5ad
@ -436,7 +436,7 @@ The service maintenance endpoint allows placing a given service into
|
||||
"maintenance mode". During maintenance mode, the service will be marked as
|
||||
unavailable and will not be present in DNS or API queries. This API call is
|
||||
idempotent. Maintenance mode is persistent and will be automatically restored
|
||||
on agent restart.
|
||||
on agent restart. The maintenance endpoint expects a PUT request.
|
||||
|
||||
The `?enable` flag is required. Acceptable values are either `true` (to enter
|
||||
maintenance mode) or `false` (to resume normal operation).
|
||||
|
Loading…
x
Reference in New Issue
Block a user