diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-24 05:34:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 05:34:05 -0400 |
commit | 0d26b8f24babcd847a7412907e622514925544a4 (patch) | |
tree | a7a634e3d97824e97005bd26f51d8a6112480440 /pkg | |
parent | 5fe122bf528a0665f7d12bc47357779b8686f6cf (diff) | |
parent | bfcfdfcb748ed2b183496e6d256564d68d20cac3 (diff) | |
download | podman-0d26b8f24babcd847a7412907e622514925544a4.tar.gz podman-0d26b8f24babcd847a7412907e622514925544a4.tar.bz2 podman-0d26b8f24babcd847a7412907e622514925544a4.zip |
Merge pull request #6737 from maybe-sybr/maybe/doc/fix-volume-list-swagdoc
APIv2:doc: Fix swagger doc to refer to volumes
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. |