diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-06-08 17:48:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 17:48:01 +0200 |
commit | 3d961acc222b89bca466cfd385e31f8300a3e021 (patch) | |
tree | 1af4a31f2c36d8516c137e96d4b38e6f768642c8 /pkg/api/server | |
parent | 5d96b8e7d6dbf1f6f4eb6fed5f8f6142541fef7f (diff) | |
parent | 8378a9c4df9af5f5cc72a3515ca65d1e3ca011a0 (diff) | |
download | podman-3d961acc222b89bca466cfd385e31f8300a3e021.tar.gz podman-3d961acc222b89bca466cfd385e31f8300a3e021.tar.bz2 podman-3d961acc222b89bca466cfd385e31f8300a3e021.zip |
Merge pull request #10597 from Luap99/prune
Fix network prune api docs
Diffstat (limited to 'pkg/api/server')
-rw-r--r-- | pkg/api/server/register_networks.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkg/api/server/register_networks.go b/pkg/api/server/register_networks.go index 4d9806316..d122c6a36 100644 --- a/pkg/api/server/register_networks.go +++ b/pkg/api/server/register_networks.go @@ -180,9 +180,12 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error { // 200: // description: OK // schema: - // type: array - // items: - // type: string + // type: object + // properties: + // NetworksDeleted: + // type: array + // items: + // type: string // 500: // $ref: "#/responses/InternalError" r.HandleFunc(VersionedPath("/networks/prune"), s.APIHandler(compat.Prune)).Methods(http.MethodPost) |