Merge pull request #10597 from Luap99/prune

Fix network prune api docs
This commit is contained in:
OpenShift Merge Robot authored and GitHub committed 2021-06-08 17:48:01 +02:00
commit 3d961acc22
5 files changed
+17 -11

No files matched your search

+6 -3
View File
@@ -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)