summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/swagger.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-26 21:36:36 +0100
committerGitHub <noreply@github.com>2020-03-26 21:36:36 +0100
commit6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654 (patch)
tree6fc011ab6c7114ec215e0443e935396150c3dac1 /pkg/api/handlers/swagger.go
parent913426c70c37a87d425085f60af397f7b38bd65d (diff)
parentc5ce210f7d091a4fa6d69abb9b4068c811a26129 (diff)
downloadpodman-6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654.tar.gz
podman-6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654.tar.bz2
podman-6a46a87d08bd1e9ddda3dd3c9c30d21d2226a654.zip
Merge pull request #5625 from baude/v2pods
podmanv2 pod subcommands
Diffstat (limited to 'pkg/api/handlers/swagger.go')
-rw-r--r--pkg/api/handlers/swagger.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go
index 4ba123ba9..646ad45ea 100644
--- a/pkg/api/handlers/swagger.go
+++ b/pkg/api/handlers/swagger.go
@@ -3,6 +3,7 @@ package handlers
import (
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/libpod/image"
+ "github.com/containers/libpod/pkg/domain/entities"
"github.com/containers/libpod/pkg/inspect"
"github.com/docker/docker/api/types"
)
@@ -116,7 +117,7 @@ type swagLibpodInspectContainerResponse struct {
// swagger:response ListPodsResponse
type swagListPodsResponse struct {
// in:body
- Body []libpod.PodInspect
+ Body []entities.ListPodsReport
}
// Inspect pod