diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-12 22:17:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 22:17:09 +0200 |
commit | 72e87c0ca89701e76148c192c98754af305f09d1 (patch) | |
tree | 4b75874d2097c54093108676283c4a062ca29adf /pkg/domain/infra/tunnel | |
parent | 97c74f35a130ea512af2572e6dad43971d14e827 (diff) | |
parent | b28a8bc198169c88536160e1814e196e4723322e (diff) | |
download | podman-72e87c0ca89701e76148c192c98754af305f09d1.tar.gz podman-72e87c0ca89701e76148c192c98754af305f09d1.tar.bz2 podman-72e87c0ca89701e76148c192c98754af305f09d1.zip |
Merge pull request #11924 from jwhonce/issues/11894
Refactor podman search to be more code friendly
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r-- | pkg/domain/infra/tunnel/images.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/tunnel/images.go b/pkg/domain/infra/tunnel/images.go index d41a20348..b8af2de68 100644 --- a/pkg/domain/infra/tunnel/images.go +++ b/pkg/domain/infra/tunnel/images.go @@ -12,7 +12,7 @@ import ( "github.com/containers/common/pkg/config" "github.com/containers/image/v5/docker/reference" "github.com/containers/image/v5/types" - images "github.com/containers/podman/v3/pkg/bindings/images" + "github.com/containers/podman/v3/pkg/bindings/images" "github.com/containers/podman/v3/pkg/domain/entities" "github.com/containers/podman/v3/pkg/domain/entities/reports" "github.com/containers/podman/v3/pkg/domain/utils" @@ -323,7 +323,7 @@ func (ir *ImageEngine) Search(ctx context.Context, term string, opts entities.Im options := new(images.SearchOptions) options.WithAuthfile(opts.Authfile).WithFilters(mappedFilters).WithLimit(opts.Limit) - options.WithListTags(opts.ListTags).WithNoTrunc(opts.NoTrunc) + options.WithListTags(opts.ListTags) if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined { if s == types.OptionalBoolTrue { options.WithSkipTLSVerify(true) |