diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-02-11 06:48:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 06:48:59 -0500 |
commit | 28ccb79b41553e31c5bf6e6460106f01f0317c6d (patch) | |
tree | a631aa500ea69d5a44ada649497450f82cdef7d7 | |
parent | 466b8991c4025006eeb43cb30e6dc990d92df72d (diff) | |
parent | 3f28d697ee7642530ab2f0eeb31953eca850b80b (diff) | |
download | podman-28ccb79b41553e31c5bf6e6460106f01f0317c6d.tar.gz podman-28ccb79b41553e31c5bf6e6460106f01f0317c6d.tar.bz2 podman-28ccb79b41553e31c5bf6e6460106f01f0317c6d.zip |
Merge pull request #13205 from jwhonce/wip/network_version
Add 409 response to swagger godoc
-rw-r--r-- | pkg/api/server/register_networks.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/server/register_networks.go b/pkg/api/server/register_networks.go index baa1fe6fb..4466c938f 100644 --- a/pkg/api/server/register_networks.go +++ b/pkg/api/server/register_networks.go @@ -320,6 +320,8 @@ func (s *APIServer) registerNetworkHandlers(r *mux.Router) error { // $ref: "#/responses/NetworkCreateReport" // 400: // $ref: "#/responses/BadParamError" + // 409: + // $ref: "#/responses/ConflictError" // 500: // $ref: "#/responses/InternalError" r.HandleFunc(VersionedPath("/libpod/networks/create"), s.APIHandler(libpod.CreateNetwork)).Methods(http.MethodPost) |