summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-09 11:47:52 +0200
committerGitHub <noreply@github.com>2021-06-09 11:47:52 +0200
commitc75d62c9877f56f6cc6253087b75ab05b8e4eac5 (patch)
tree0903be3a919964ee0be3fbc5663bfcc900b59159 /pkg/api/handlers/libpod
parenta2e1df80bcf71c11d10cc78b49fab4b8909b86e5 (diff)
parent8e89d70713abd563602528d9a22d1ed1c1eb85e0 (diff)
downloadpodman-c75d62c9877f56f6cc6253087b75ab05b8e4eac5.tar.gz
podman-c75d62c9877f56f6cc6253087b75ab05b8e4eac5.tar.bz2
podman-c75d62c9877f56f6cc6253087b75ab05b8e4eac5.zip
Merge pull request #10607 from jwhonce/issues/10559
[CI:DOCS] Update swagger for inspect network
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