Correct PUT /server documentation
The stale state was nonsensical and the drain state was missing.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user