From cab33cfbf6a729778afd6740e81df4f647514214 Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 30 Oct 2020 10:48:07 -0400 Subject: 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 --- cmd/podman/images/search.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd') 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") } -- cgit v1.2.3-54-g00ecf