summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-06-08 15:19:38 -0700
committerJhon Honce <jhonce@redhat.com>2021-06-08 15:23:46 -0700
commit8e89d70713abd563602528d9a22d1ed1c1eb85e0 (patch)
tree7af1a2d93bd974c80061cfd487a6ae8923a95543 /pkg/api/handlers/libpod
parentda1bade294025a419877484ae35f352984e804d2 (diff)
downloadpodman-8e89d70713abd563602528d9a22d1ed1c1eb85e0.tar.gz
podman-8e89d70713abd563602528d9a22d1ed1c1eb85e0.tar.bz2
podman-8e89d70713abd563602528d9a22d1ed1c1eb85e0.zip
[CI:DOCS] Update swagger for inspect network
struct for swagger was pointing to wrong internal type Fixes #10559 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod')
-rw-r--r--pkg/api/handlers/libpod/swagger.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/swagger.go b/pkg/api/handlers/libpod/swagger.go
index 2ac5009fc..6116a7274 100644
--- a/pkg/api/handlers/libpod/swagger.go
+++ b/pkg/api/handlers/libpod/swagger.go
@@ -4,6 +4,7 @@ import (
"net/http"
"os"
+ "github.com/containernetworking/cni/libcni"
"github.com/containers/image/v5/manifest"
"github.com/containers/podman/v3/libpod/define"
"github.com/containers/podman/v3/pkg/api/handlers/utils"
@@ -102,7 +103,7 @@ type swagNetworkRmReport struct {
// swagger:response NetworkInspectReport
type swagNetworkInspectReport struct {
// in:body
- Body entities.NetworkInspectReport
+ Body libcni.NetworkConfigList
}
// Network list