From 4bb7d7768c17e3c8aee3637793fa1079138bd9e0 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 18 Feb 2021 11:43:40 -0500 Subject: Fix swagger generation The InspectVolumeData struct was moved into Define from Libpod. Signed-off-by: Matthew Heon --- pkg/api/handlers/swagger/swagger.go | 3 +-- 1 file changed, 1 insertion(+), 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 } } -- cgit v1.2.3-54-g00ecf