Update return from initialize

This commit is contained in:
Joshua Boniface 2019-12-23 20:51:18 -05:00
parent 9076208a92
commit fd4f033a04
1 changed files with 3 additions and 3 deletions

View File

@ -926,7 +926,7 @@
}, },
"/api/v1/initialize": { "/api/v1/initialize": {
"post": { "post": {
"description": "Note: Normally used only once during cluster bootstrap; checks for the existence of the \"/primary_node\" key before proceeding", "description": "Note: Normally used only once during cluster bootstrap; checks for the existence of the \"/primary_node\" key before proceeding and returns 400 if found",
"responses": { "responses": {
"200": { "200": {
"description": "OK", "description": "OK",
@ -934,8 +934,8 @@
"$ref": "#/definitions/Message" "$ref": "#/definitions/Message"
} }
}, },
"302": { "400": {
"description": "Cluster already initialized" "description": "Bad request"
} }
}, },
"summary": "Initialize a new PVC cluster", "summary": "Initialize a new PVC cluster",