summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-03-02 12:01:53 -0700
committerEd Santiago <santiago@redhat.com>2020-03-02 12:01:56 -0700
commitc3c334a32360b229789f8d7cadf47def226d00f1 (patch)
tree96326e6dfe2d843ba51161f2161b82182214d4f4 /pkg/api
parentf9a476833bc8461dd246db0b31f542ad4a6d7587 (diff)
downloadpodman-c3c334a32360b229789f8d7cadf47def226d00f1.tar.gz
podman-c3c334a32360b229789f8d7cadf47def226d00f1.tar.bz2
podman-c3c334a32360b229789f8d7cadf47def226d00f1.zip
more swagger fixes
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/server/register_volumes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go
index d1317904b..2cf249cc3 100644
--- a/pkg/api/server/register_volumes.go
+++ b/pkg/api/server/register_volumes.go
@@ -25,7 +25,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// '500':
// "$ref": "#/responses/InternalError"
r.Handle(VersionedPath("/libpod/volumes/create"), s.APIHandler(libpod.CreateVolume)).Methods(http.MethodPost)
- // swagger:operation POST /libpod/volumes/json volumes listVolumes
+ // swagger:operation GET /libpod/volumes/json volumes listVolumes
// ---
// summary: List volumes
// description: Returns a list of networks