summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-08-18 16:19:59 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-08-20 10:12:27 +0200
commit524ae12977d3eb93bd8b2eac4a15c84a05a66dbb (patch)
tree8e3f5471cd71d055e9598a32c1e235a5e9cb4cef /cmd
parent9ac3a03d041161bed934ca0259fb70072b9cd8d0 (diff)
downloadpodman-524ae12977d3eb93bd8b2eac4a15c84a05a66dbb.tar.gz
podman-524ae12977d3eb93bd8b2eac4a15c84a05a66dbb.tar.bz2
podman-524ae12977d3eb93bd8b2eac4a15c84a05a66dbb.zip
vendor c/image v5.5.2
Enable pagination until the search result reaches the limit, instead of returning default 100 limit from registry API. BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1866153 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/images/search.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/podman/images/search.go b/cmd/podman/images/search.go
index f1a2cda96..f1768a3c0 100644
--- a/cmd/podman/images/search.go
+++ b/cmd/podman/images/search.go
@@ -103,10 +103,6 @@ func imageSearch(cmd *cobra.Command, args []string) error {
return errors.Errorf("search requires exactly one argument")
}
- if searchOptions.Limit > 100 {
- return errors.Errorf("Limit %d is outside the range of [1, 100]", searchOptions.Limit)
- }
-
// TLS verification in c/image is controlled via a `types.OptionalBool`
// which allows for distinguishing among set-true, set-false, unspecified
// which is important to implement a sane way of dealing with defaults of