Correct PUT /server documentation

The stale state was nonsensical and the drain state was missing.
This commit is contained in:
Markus Mäkelä
2020-05-05 08:17:25 +03:00
parent 4f964ad039
commit deae315dce

View File

@ -564,13 +564,13 @@ with hyphens. This endpoint requires that the `state` parameter is passed with
the request. The value of `state` must be one of the following values.
|Value | State Description |
|-----------|--------------------------------|
|-----------|----------------------------------|
|master | Server is a Master |
|slave | Server is a Slave |
|maintenance| Server is put into maintenance |
|running | Server is up and running |
|synced | Server is a Galera node |
|stale | Server is a stale Master |
|drain | Server is drained of connections |
For example, to set the server _db-server-1_ into maintenance mode, a request to
the following URL must be made: