summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-16 10:52:58 -0700
committerGitHub <noreply@github.com>2020-04-16 10:52:58 -0700
commit5def21140038fc34cee9707d3069bf52adc24577 (patch)
tree2582da76814b9eb636f11070b00a2dbb596754a5 /pkg/api/server
parent8c4d4b58eee5e6d759199c36560af738aadc521d (diff)
parentba430bfe5ef65d5aa5ffa1fef0087da76aafcc35 (diff)
downloadpodman-5def21140038fc34cee9707d3069bf52adc24577.tar.gz
podman-5def21140038fc34cee9707d3069bf52adc24577.tar.bz2
podman-5def21140038fc34cee9707d3069bf52adc24577.zip
Merge pull request #5842 from baude/v2bloat2
podman v2 remove bloat v2
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/swagger.go27
1 files changed, 13 insertions, 14 deletions
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
}
}