summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@gmail.com>2021-01-24 16:10:33 -0500
committerReinhard Tartler <siretart@tauware.de>2021-01-24 17:31:29 -0500
commitef76b92b80313f78f9bef3efd522a58f303ec6a7 (patch)
tree3eb6008012f441eea282045f98e05cf0261bbe32
parent479fc226044b745ecaafc2d5fa925afe6ca06de0 (diff)
downloadpodman-ef76b92b80313f78f9bef3efd522a58f303ec6a7.tar.gz
podman-ef76b92b80313f78f9bef3efd522a58f303ec6a7.tar.bz2
podman-ef76b92b80313f78f9bef3efd522a58f303ec6a7.zip
swagger.go: Fix compilation error
Error looks like: # github.com/containers/podman/pkg/api/handlers/swagger src/github.com/containers/podman/pkg/api/handlers/swagger/swagger.go:169:3: undefined: libpod.InspectVolumeData [NO TESTS NEEDED] Signed-off-by: Reinhard Tartler <siretart@tauware.de>
-rw-r--r--pkg/api/handlers/swagger/swagger.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/api/handlers/swagger/swagger.go b/pkg/api/handlers/swagger/swagger.go
index 22670d795..32f041dd3 100644
--- a/pkg/api/handlers/swagger/swagger.go
+++ b/pkg/api/handlers/swagger/swagger.go
@@ -1,7 +1,6 @@
package swagger
import (
- "github.com/containers/podman/v2/libpod"
"github.com/containers/podman/v2/libpod/define"
"github.com/containers/podman/v2/libpod/image"
"github.com/containers/podman/v2/pkg/api/handlers"
@@ -166,7 +165,7 @@ type swagInspectPodResponse struct {
type swagInspectVolumeResponse struct {
// in:body
Body struct {
- libpod.InspectVolumeData
+ define.InspectVolumeData
}
}