Skip to content

Commit

Permalink
swagger.go: Fix compilation error
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
siretart authored and Reinhard Tartler committed Jan 24, 2021
1 parent 479fc22 commit ef76b92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/api/handlers/swagger/swagger.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -166,7 +165,7 @@ type swagInspectPodResponse struct {
type swagInspectVolumeResponse struct {
// in:body
Body struct {
libpod.InspectVolumeData
define.InspectVolumeData
}
}

Expand Down

0 comments on commit ef76b92

Please sign in to comment.