mirror of https://github.com/containers/podman.git
close https://bugzilla.redhat.com/show_bug.cgi?id=1732280 From the bug Podman search returns 25 results even when limit option `--limit` is larger than 25(maxQueries). They want Podman to return `--limit` results. This PR fixes the number of output result. if --limit not set, return MIN(maxQueries, len(res)) if --limit is set, return MIN(option, len(res)) Signed-off-by: Qi Wang <qiwan@redhat.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| docker_registry_options.go | ||
| errors.go | ||
| image.go | ||
| image_test.go | ||
| parts.go | ||
| parts_test.go | ||
| prune.go | ||
| pull.go | ||
| pull_test.go | ||
| search.go | ||
| signing_options.go | ||
| utils.go | ||