mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Make search --no-trunc
work for podman remote
The HTTP API for image search was still lacking support of the NoTrunc parameter. Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
This commit is contained in:
@ -439,6 +439,7 @@ func Search(ctx context.Context, term string, opts entities.ImageSearchOptions)
|
||||
params := url.Values{}
|
||||
params.Set("term", term)
|
||||
params.Set("limit", strconv.Itoa(opts.Limit))
|
||||
params.Set("noTrunc", strconv.FormatBool(opts.NoTrunc))
|
||||
for _, f := range opts.Filters {
|
||||
params.Set("filters", f)
|
||||
}
|
||||
|
Reference in New Issue
Block a user