diff options
author | maybe-sybr <58414429+maybe-sybr@users.noreply.github.com> | 2020-06-24 11:20:03 +1000 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-06-24 14:42:32 -0400 |
commit | f425aede44a3e114565636ed33adccef62012fd3 (patch) | |
tree | c2a6ae3f02eef01120b54262b2500de02f15d0ea /pkg | |
parent | ddf78b2ba2b2e95bb700b48d2d9e9ec2332ed82a (diff) | |
download | podman-f425aede44a3e114565636ed33adccef62012fd3.tar.gz podman-f425aede44a3e114565636ed33adccef62012fd3.tar.bz2 podman-f425aede44a3e114565636ed33adccef62012fd3.zip |
APIv2:doc: Fix swagger doc to refer to volumes
Signed-off-by: Matt Brindley <58414429+maybe-sybr@users.noreply.github.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/api/server/register_volumes.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go index 93b972b6b..1d5abd830 100644 --- a/pkg/api/server/register_volumes.go +++ b/pkg/api/server/register_volumes.go @@ -28,7 +28,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error { // swagger:operation GET /libpod/volumes/json volumes listVolumes // --- // summary: List volumes - // description: Returns a list of networks + // description: Returns a list of volumes // produces: // - application/json // parameters: @@ -36,7 +36,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error { // name: filters // type: string // description: | - // JSON encoded value of the filters (a map[string][]string) to process on the networks list. Available filters: + // JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters: // - driver=<volume-driver-name> Matches volumes based on their driver. // - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value. // - name=<volume-name> Matches all of volume name. |