diff options
author | Qi Wang <qiwan@redhat.com> | 2020-10-30 10:48:07 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-10-30 11:00:40 -0400 |
commit | cab33cfbf6a729778afd6740e81df4f647514214 (patch) | |
tree | 96812011f71e1c049e7892b0177d85b73c4e67b5 /cmd/podman/images | |
parent | 228396a99dc88fc828f23d4072a46ca8de90282f (diff) | |
download | podman-cab33cfbf6a729778afd6740e81df4f647514214.tar.gz podman-cab33cfbf6a729778afd6740e81df4f647514214.tar.bz2 podman-cab33cfbf6a729778afd6740e81df4f647514214.zip |
Remove search limit since pagination support
Remove the search limit check since the c/image v5.6.0 supports pagination and can give result over 100 entries.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd/podman/images')
-rw-r--r-- | cmd/podman/images/search.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/podman/images/search.go b/cmd/podman/images/search.go index b1a1442a6..3d8be5c71 100644 --- a/cmd/podman/images/search.go +++ b/cmd/podman/images/search.go @@ -98,10 +98,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") } |