mirror of
https://github.com/containers/podman.git
synced 2025-06-17 15:08:08 +08:00
Update godoc, swagger using wrong struct
Documentation for API volume list, pointed to a different struct than the code. [NO NEW TESTS NEEDED] Fixes #12987 Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/containers/podman/v4/libpod"
|
||||
"github.com/containers/podman/v4/libpod/define"
|
||||
"github.com/containers/podman/v4/pkg/domain/entities"
|
||||
"github.com/containers/podman/v4/pkg/domain/entities/reports"
|
||||
@ -189,7 +188,7 @@ type swagVolumeCreateResponse struct {
|
||||
// swagger:response VolumeList
|
||||
type swagVolumeListResponse struct {
|
||||
// in:body
|
||||
Body []libpod.Volume
|
||||
Body []entities.VolumeConfigResponse
|
||||
}
|
||||
|
||||
// Healthcheck
|
||||
|
Reference in New Issue
Block a user