aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2022-01-24 15:01:16 -0700
committerJhon Honce <jhonce@redhat.com>2022-01-25 10:05:51 -0700
commit44a87229b60c92f27dbc3ad531e865c9a1db59ff (patch)
tree8a6ce67d61b914a2be1d19c82b6a8e9f85e7c356
parent92635c726ac063770f20ce9cc3da48f33a5ad73b (diff)
downloadpodman-44a87229b60c92f27dbc3ad531e865c9a1db59ff.tar.gz
podman-44a87229b60c92f27dbc3ad531e865c9a1db59ff.tar.bz2
podman-44a87229b60c92f27dbc3ad531e865c9a1db59ff.zip
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>
-rw-r--r--pkg/api/server/swagger.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/api/server/swagger.go b/pkg/api/server/swagger.go
index 7b0e7a5a7..9b652be87 100644
--- a/pkg/api/server/swagger.go
+++ b/pkg/api/server/swagger.go
@@ -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