summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-25 13:37:43 -0500
committerGitHub <noreply@github.com>2022-01-25 13:37:43 -0500
commit164a1d028b30cdd1363c3dc82fcd6c5a7a343e54 (patch)
tree0d2e1d9dc867024053a565239594cdea52a27901
parentfa9ab1f5f7365b73c2678f9b0ca15357ecb76a3b (diff)
parent44a87229b60c92f27dbc3ad531e865c9a1db59ff (diff)
downloadpodman-164a1d028b30cdd1363c3dc82fcd6c5a7a343e54.tar.gz
podman-164a1d028b30cdd1363c3dc82fcd6c5a7a343e54.tar.bz2
podman-164a1d028b30cdd1363c3dc82fcd6c5a7a343e54.zip
Merge pull request #12999 from jwhonce/issues/12987
Update godoc, swagger using wrong struct
-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