summaryrefslogtreecommitdiff
path: root/cmd/podman/images/search.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-30 20:34:28 +0100
committerGitHub <noreply@github.com>2020-10-30 20:34:28 +0100
commite5227b9d75d2a5145050a9a6b66fd6b812a370e9 (patch)
tree7e5f0d572469b665e04c4f93f37457a0c1506105 /cmd/podman/images/search.go
parentd475c99b5bb850e35bcb4c252e482c7aac9df221 (diff)
parentcab33cfbf6a729778afd6740e81df4f647514214 (diff)
downloadpodman-e5227b9d75d2a5145050a9a6b66fd6b812a370e9.tar.gz
podman-e5227b9d75d2a5145050a9a6b66fd6b812a370e9.tar.bz2
podman-e5227b9d75d2a5145050a9a6b66fd6b812a370e9.zip
Merge pull request #8201 from QiWang19/search-limit
Remove search limit since pagination support
Diffstat (limited to 'cmd/podman/images/search.go')
-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 aabcf98ff..774b39d3a 100644
--- a/cmd/podman/images/search.go
+++ b/cmd/podman/images/search.go
@@ -99,10 +99,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)
- }
-
if searchOptions.ListTags && len(searchOptions.Filters) != 0 {
return errors.Errorf("filters are not applicable to list tags result")
}