summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2022-03-22 15:20:30 -0700
committerJhon Honce <jhonce@redhat.com>2022-03-22 15:20:30 -0700
commit41a6dd36f66564315bc200a790b91de994f6f9e4 (patch)
tree398076d09bdffb4788fd9fb3575d0e9364ef56c3 /pkg/api/handlers
parentc840f64e419813f389d88e16294ce916aaf31957 (diff)
downloadpodman-41a6dd36f66564315bc200a790b91de994f6f9e4.tar.gz
podman-41a6dd36f66564315bc200a790b91de994f6f9e4.tar.bz2
podman-41a6dd36f66564315bc200a790b91de994f6f9e4.zip
Update swagger to improve compatibility
[NO NEW TESTS NEEDED] Improve swagger and handler code compatibility. Fixes #12804 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/compat/networks.go2
1 files changed, 1 insertions, 1 deletions
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,
}