mirror of
https://github.com/containers/podman.git
synced 2025-10-17 03:04:21 +08: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:
@ -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