summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-20 21:05:32 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-21 09:28:42 -0400
commit9add1abd12bbadef3dac778a72072fae3cb9c08b (patch)
tree05568d1e084696166849d7a007d4a5379910880b /pkg/domain/entities
parenta4c8198afd2b92b40b95c6fe01756cf2d0076cb6 (diff)
downloadpodman-9add1abd12bbadef3dac778a72072fae3cb9c08b.tar.gz
podman-9add1abd12bbadef3dac778a72072fae3cb9c08b.tar.bz2
podman-9add1abd12bbadef3dac778a72072fae3cb9c08b.zip
Handle filters correctly for podman prune
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/images.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index 9d5fd5cc9..0f909ab37 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -1,7 +1,6 @@
package entities
import (
- "net/url"
"time"
"github.com/containers/image/v5/manifest"
@@ -226,9 +225,8 @@ type ImageListOptions struct {
}
type ImagePruneOptions struct {
- All bool `json:"all" schema:"all"`
- Filter []string `json:"filter" schema:"filter"`
- Filters url.Values `json:"filters" schema:"filters"`
+ All bool `json:"all" schema:"all"`
+ Filter []string `json:"filter" schema:"filter"`
}
type ImagePruneReport struct {