From 54256fbe7881894063f27e19e7dc63cb7c358e0c Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Fri, 31 Jul 2020 13:16:20 +0200 Subject: Make `search --no-trunc` work for podman remote The HTTP API for image search was still lacking support of the NoTrunc parameter. Signed-off-by: Ralf Haferkamp --- pkg/bindings/images/images.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/bindings/images/images.go') diff --git a/pkg/bindings/images/images.go b/pkg/bindings/images/images.go index fc8c9996e..12d1a9ce9 100644 --- a/pkg/bindings/images/images.go +++ b/pkg/bindings/images/images.go @@ -439,6 +439,7 @@ func Search(ctx context.Context, term string, opts entities.ImageSearchOptions) params := url.Values{} params.Set("term", term) params.Set("limit", strconv.Itoa(opts.Limit)) + params.Set("noTrunc", strconv.FormatBool(opts.NoTrunc)) for _, f := range opts.Filters { params.Set("filters", f) } -- cgit v1.2.3-54-g00ecf