From 2fa78938a94e90e41755b68dd1af36f5b817ed55 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Thu, 26 Mar 2020 13:37:09 -0500 Subject: podmanv2 container inspect add ability to inspect a container Signed-off-by: Brent Baude --- pkg/api/handlers/swagger.go | 3 ++- pkg/api/server/swagger.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pkg/api') diff --git a/pkg/api/handlers/swagger.go b/pkg/api/handlers/swagger.go index 646ad45ea..e6e937729 100644 --- a/pkg/api/handlers/swagger.go +++ b/pkg/api/handlers/swagger.go @@ -2,6 +2,7 @@ package handlers import ( "github.com/containers/libpod/libpod" + "github.com/containers/libpod/libpod/define" "github.com/containers/libpod/libpod/image" "github.com/containers/libpod/pkg/domain/entities" "github.com/containers/libpod/pkg/inspect" @@ -109,7 +110,7 @@ type swagDockerTopResponse struct { type swagLibpodInspectContainerResponse struct { // in:body Body struct { - libpod.InspectContainerData + define.InspectContainerData } } diff --git a/pkg/api/server/swagger.go b/pkg/api/server/swagger.go index 9156f3f8a..2433a6a05 100644 --- a/pkg/api/server/swagger.go +++ b/pkg/api/server/swagger.go @@ -2,6 +2,7 @@ package server import ( "github.com/containers/libpod/libpod" + "github.com/containers/libpod/libpod/define" "github.com/containers/libpod/pkg/api/handlers/utils" "github.com/containers/libpod/pkg/domain/entities" ) @@ -178,6 +179,6 @@ type swagVolumeListResponse struct { type swagHealthCheckRunResponse struct { // in:body Body struct { - libpod.HealthCheckResults + define.HealthCheckResults } } -- cgit v1.2.3-54-g00ecf