diff options
Diffstat (limited to 'cmd/podman/search.go')
-rw-r--r-- | cmd/podman/search.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/podman/search.go b/cmd/podman/search.go index a772827a6..f63131c84 100644 --- a/cmd/podman/search.go +++ b/cmd/podman/search.go @@ -58,10 +58,15 @@ func searchCmd(c *cliconfig.SearchValues) error { } term := args[0] + filter, err := image.ParseSearchFilter(c.Filter) + if err != nil { + return err + } + searchOptions := image.SearchOptions{ NoTrunc: c.NoTrunc, Limit: c.Limit, - Filter: c.Filter, + Filter: *filter, Authfile: getAuthFile(c.Authfile), } if c.Flag("tls-verify").Changed { |