From 41a6dd36f66564315bc200a790b91de994f6f9e4 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Tue, 22 Mar 2022 15:20:30 -0700 Subject: Update swagger to improve compatibility [NO NEW TESTS NEEDED] Improve swagger and handler code compatibility. Fixes #12804 Signed-off-by: Jhon Honce --- pkg/api/handlers/compat/networks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/api/handlers') diff --git a/pkg/api/handlers/compat/networks.go b/pkg/api/handlers/compat/networks.go index eb1a5d59c..89d914e0a 100644 --- a/pkg/api/handlers/compat/networks.go +++ b/pkg/api/handlers/compat/networks.go @@ -242,7 +242,7 @@ func CreateNetwork(w http.ResponseWriter, r *http.Request) { body := struct { ID string `json:"Id"` - Warning []string + Warning string }{ ID: newNetwork.ID, } -- cgit v1.2.3-54-g00ecf