summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/images.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-03 03:06:24 -0400
committerGitHub <noreply@github.com>2020-08-03 03:06:24 -0400
commitbfd34542f463b7ea59b9560516b3b3d66674eefe (patch)
treee5c6ebfcc2bfaf952850f207c13c5b6df587f034 /pkg/bindings/images/images.go
parentf4d4bd22887e1271c3bf04532596f4c02201022e (diff)
parent54256fbe7881894063f27e19e7dc63cb7c358e0c (diff)
downloadpodman-bfd34542f463b7ea59b9560516b3b3d66674eefe.tar.gz
podman-bfd34542f463b7ea59b9560516b3b3d66674eefe.tar.bz2
podman-bfd34542f463b7ea59b9560516b3b3d66674eefe.zip
Merge pull request #7141 from rhafer/image_descr_test
Add test case for description being present in search result
Diffstat (limited to 'pkg/bindings/images/images.go')
-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)
}