diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-19 08:47:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 08:47:37 -0500 |
commit | 8c6df5e93e6941a7f50da651678751f7dfec900e (patch) | |
tree | 11c249515e428afe98e353b497d2d6abd1ae7ca3 /pkg/domain/infra/tunnel/containers.go | |
parent | 9a10f20bc1a8733f2a4025d4a1bca45aa31db0d7 (diff) | |
parent | 4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e (diff) | |
download | podman-8c6df5e93e6941a7f50da651678751f7dfec900e.tar.gz podman-8c6df5e93e6941a7f50da651678751f7dfec900e.tar.bz2 podman-8c6df5e93e6941a7f50da651678751f7dfec900e.zip |
Merge pull request #9004 from baude/existsoptions
Add binding options for container|pod exists
Diffstat (limited to 'pkg/domain/infra/tunnel/containers.go')
-rw-r--r-- | pkg/domain/infra/tunnel/containers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go index 4ee623703..84a07f8e9 100644 --- a/pkg/domain/infra/tunnel/containers.go +++ b/pkg/domain/infra/tunnel/containers.go @@ -31,7 +31,7 @@ func (ic *ContainerEngine) ContainerRunlabel(ctx context.Context, label string, } func (ic *ContainerEngine) ContainerExists(ctx context.Context, nameOrID string, options entities.ContainerExistsOptions) (*entities.BoolReport, error) { - exists, err := containers.Exists(ic.ClientCtx, nameOrID, options.External) + exists, err := containers.Exists(ic.ClientCtx, nameOrID, new(containers.ExistsOptions).WithExternal(options.External)) return &entities.BoolReport{Value: exists}, err } |