summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-06-04 14:22:52 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-06-04 14:22:52 +0200
commitdf7c3a70394da70dba60efbeb0fd721ebd6f647a (patch)
tree9c495ae36aa2a5cd862ec5887c0fd49cfa6c76fd /pkg
parent52dae693da0df1447b7f5210a4c842d5c5a8a401 (diff)
downloadpodman-df7c3a70394da70dba60efbeb0fd721ebd6f647a.tar.gz
podman-df7c3a70394da70dba60efbeb0fd721ebd6f647a.tar.bz2
podman-df7c3a70394da70dba60efbeb0fd721ebd6f647a.zip
[CI:DOCS] fix incorrect network remove api doc
The endpoint returns an array and not a single entry. Fixes #10494 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/handlers/libpod/swagger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/libpod/swagger.go b/pkg/api/handlers/libpod/swagger.go
index 9450a70d9..19eced986 100644
--- a/pkg/api/handlers/libpod/swagger.go
+++ b/pkg/api/handlers/libpod/swagger.go
@@ -95,7 +95,7 @@ type swagInfoResponse struct {
// swagger:response NetworkRmReport
type swagNetworkRmReport struct {
// in:body
- Body entities.NetworkRmReport
+ Body []entities.NetworkRmReport
}
// Network inspect