From fd4f033a04c15c997532d1040b9c120236fa66de Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 23 Dec 2019 20:51:18 -0500 Subject: [PATCH] Update return from initialize --- docs/manuals/swagger.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manuals/swagger.json b/docs/manuals/swagger.json index ba67fc02..380ddea2 100644 --- a/docs/manuals/swagger.json +++ b/docs/manuals/swagger.json @@ -926,7 +926,7 @@ }, "/api/v1/initialize": { "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": { "200": { "description": "OK", @@ -934,8 +934,8 @@ "$ref": "#/definitions/Message" } }, - "302": { - "description": "Cluster already initialized" + "400": { + "description": "Bad request" } }, "summary": "Initialize a new PVC cluster",