mirror of
https://github.com/datarhei/core.git
synced 2025-10-07 17:01:01 +08:00
Allow cluster leave endpoint to remove any node in the cluster
This commit is contained in:
19
docs/docs.go
19
docs/docs.go
@@ -860,6 +860,17 @@ const docTemplate = `{
|
||||
],
|
||||
"summary": "Leave the cluster gracefully",
|
||||
"operationId": "cluster-3-leave",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Node ID",
|
||||
"name": "nodeid",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ClusterNodeID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
@@ -5043,6 +5054,14 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.ClusterNodeID": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.ClusterNodeResources": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user