[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>
This commit is contained in:
Qi Wang committed 2020-07-29 12:08:51 -04:00
1 parent 7f38774ee7
commit 4dbfac6cde
2 files changed
+52 -8

No files matched your search

+1 -1
View File
@@ -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)