From ba430bfe5ef65d5aa5ffa1fef0087da76aafcc35 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Thu, 16 Apr 2020 08:39:34 -0500 Subject: podman v2 remove bloat v2 rid ourseleves of libpod references in v2 client Signed-off-by: Brent Baude --- pkg/api/server/swagger.go | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'pkg/api/server/swagger.go') diff --git a/pkg/api/server/swagger.go b/pkg/api/server/swagger.go index 2433a6a05..75dcc71a6 100644 --- a/pkg/api/server/swagger.go +++ b/pkg/api/server/swagger.go @@ -3,7 +3,6 @@ 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" ) @@ -12,7 +11,7 @@ import ( type swagErrNoSuchImage struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -21,7 +20,7 @@ type swagErrNoSuchImage struct { type swagErrNoSuchContainer struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -30,7 +29,7 @@ type swagErrNoSuchContainer struct { type swagErrNoSuchExecInstance struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -39,7 +38,7 @@ type swagErrNoSuchExecInstance struct { type swagErrNoSuchVolume struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -48,7 +47,7 @@ type swagErrNoSuchVolume struct { type swagErrNoSuchPod struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -57,7 +56,7 @@ type swagErrNoSuchPod struct { type swagErrNoSuchManifest struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -66,7 +65,7 @@ type swagErrNoSuchManifest struct { type swagInternalError struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -75,7 +74,7 @@ type swagInternalError struct { type swagConflictError struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -84,7 +83,7 @@ type swagConflictError struct { type swagBadParamError struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -93,7 +92,7 @@ type swagBadParamError struct { type swagContainerAlreadyStartedError struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -102,7 +101,7 @@ type swagContainerAlreadyStartedError struct { type swagContainerAlreadyStopped struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -111,7 +110,7 @@ type swagContainerAlreadyStopped struct { type swagPodAlreadyStartedError struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } @@ -120,7 +119,7 @@ type swagPodAlreadyStartedError struct { type swagPodAlreadyStopped struct { // in:body Body struct { - utils.ErrorModel + entities.ErrorModel } } -- cgit v1.2.3-54-g00ecf