diff options
author | Brent Baude <bbaude@redhat.com> | 2020-02-11 12:40:41 -0600 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-02-11 12:42:58 -0600 |
commit | ad4a92c5e53f222bd99d2b55e175eef48d077cf4 (patch) | |
tree | 06bcf014a9d176232d182a257a3b5f835596ef67 /pkg/bindings/images/search.go | |
parent | 86b5a89d1afb641196214ed9c57e83e617776c5f (diff) | |
download | podman-ad4a92c5e53f222bd99d2b55e175eef48d077cf4.tar.gz podman-ad4a92c5e53f222bd99d2b55e175eef48d077cf4.tar.bz2 podman-ad4a92c5e53f222bd99d2b55e175eef48d077cf4.zip |
Fix container filters
container filters were being double encoded (maybe triple) which resulted in the wrong encoding representation of filters being sent by the go-bindings. Also, on the server side, Filter needed to be changed to Filter to decode properly. Finally, due to the changed return type of List Containers, the go bindings return values needed to be changed.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/images/search.go')
-rw-r--r-- | pkg/bindings/images/search.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/images/search.go b/pkg/bindings/images/search.go index d98ddf18d..58b25425b 100644 --- a/pkg/bindings/images/search.go +++ b/pkg/bindings/images/search.go @@ -26,7 +26,7 @@ func Search(ctx context.Context, term string, limit *int, filters map[string][]s params["limit"] = strconv.Itoa(*limit) } if filters != nil { - stringFilter, err := bindings.FiltersToHTML(filters) + stringFilter, err := bindings.FiltersToString(filters) if err != nil { return nil, err } |