mirror of
https://github.com/containers/podman.git
synced 2026-10-23 02:15:11 -04:00
[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:
1 parent
7f38774ee7
commit
4dbfac6cde
2 files changed
+52
-8
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user