summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_volumes.go
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-07-27 16:22:52 -0400
committerQi Wang <qiwan@redhat.com>2020-07-29 12:08:51 -0400
commit4dbfac6cde9ab4fab9a044cb2eff35f3ffc9491b (patch)
tree98dadf10bfa3fde4953a4555b8775a670d2043a1 /pkg/api/server/register_volumes.go
parent7f38774ee7758e56cf31e87c81ae0bc9208d0ede (diff)
downloadpodman-4dbfac6cde9ab4fab9a044cb2eff35f3ffc9491b.tar.gz
podman-4dbfac6cde9ab4fab9a044cb2eff35f3ffc9491b.tar.bz2
podman-4dbfac6cde9ab4fab9a044cb2eff35f3ffc9491b.zip
[CI:DOCS] apiv2 fix volumes not inculded field
Do not use volume from docker since UsageData field is not need. It's nullable in docker API and expensive to add. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/api/server/register_volumes.go')
-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 b509a332a..8f7848ed4 100644
--- a/pkg/api/server/register_volumes.go
+++ b/pkg/api/server/register_volumes.go
@@ -128,7 +128,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// The boolean `dangling` filter is not yet implemented for this endpoint.
// responses:
// '200':
- // "$ref": "#/responses/DockerVolumeList"
+ // "$ref": "#/responses/VolumeListResponse"
// '500':
// "$ref": "#/responses/InternalError"
r.Handle(VersionedPath("/volumes"), s.APIHandler(compat.ListVolumes)).Methods(http.MethodGet)