mirror of
https://github.com/containers/podman.git
synced 2025-06-19 00:06:43 +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
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/containers/podman/v4/libpod"
|
|
||||||
"github.com/containers/podman/v4/libpod/define"
|
"github.com/containers/podman/v4/libpod/define"
|
||||||
"github.com/containers/podman/v4/pkg/domain/entities"
|
"github.com/containers/podman/v4/pkg/domain/entities"
|
||||||
"github.com/containers/podman/v4/pkg/domain/entities/reports"
|
"github.com/containers/podman/v4/pkg/domain/entities/reports"
|
||||||
@ -189,7 +188,7 @@ type swagVolumeCreateResponse struct {
|
|||||||
// swagger:response VolumeList
|
// swagger:response VolumeList
|
||||||
type swagVolumeListResponse struct {
|
type swagVolumeListResponse struct {
|
||||||
// in:body
|
// in:body
|
||||||
Body []libpod.Volume
|
Body []entities.VolumeConfigResponse
|
||||||
}
|
}
|
||||||
|
|
||||||
// Healthcheck
|
// Healthcheck
|
||||||
|
Reference in New Issue
Block a user