summaryrefslogtreecommitdiff
path: root/pkg/bindings/images
diff options
context:
space:
mode:
authorRalf Haferkamp <rhafer@suse.com>2020-07-31 13:16:20 +0200
committerRalf Haferkamp <rhafer@suse.com>2020-07-31 15:39:57 +0200
commit54256fbe7881894063f27e19e7dc63cb7c358e0c (patch)
tree628d51d16339904d9ef1c9125646b1f17c8e0085 /pkg/bindings/images
parentbcbb5f9963e9b08ddaeb895d074e98f176a39bc0 (diff)
downloadpodman-54256fbe7881894063f27e19e7dc63cb7c358e0c.tar.gz
podman-54256fbe7881894063f27e19e7dc63cb7c358e0c.tar.bz2
podman-54256fbe7881894063f27e19e7dc63cb7c358e0c.zip
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 <rhafer@suse.com>
Diffstat (limited to 'pkg/bindings/images')
-rw-r--r--pkg/bindings/images/images.go1
1 files changed, 1 insertions, 0 deletions
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)
}