summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-02-18 11:43:40 -0500
committerMatthew Heon <mheon@redhat.com>2021-02-18 14:23:53 -0500
commit4bb7d7768c17e3c8aee3637793fa1079138bd9e0 (patch)
tree86dfcf5300edcfd453c349c34b121c960383be41
parent4b348c63785e49850b01b9101e66513c9d0f2b15 (diff)
downloadpodman-4bb7d7768c17e3c8aee3637793fa1079138bd9e0.tar.gz
podman-4bb7d7768c17e3c8aee3637793fa1079138bd9e0.tar.bz2
podman-4bb7d7768c17e3c8aee3637793fa1079138bd9e0.zip
Fix swagger generation
The InspectVolumeData struct was moved into Define from Libpod. Signed-off-by: Matthew Heon <mheon@redhat.com>
-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
}
}