summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-03-20 13:15:50 -0500
committerBrent Baude <bbaude@redhat.com>2020-03-20 13:15:50 -0500
commit4a00409bf8c88174cbdbc12760d3f8ddce9621de (patch)
tree92c72614c9b7fdb55cacf69ebc8da4aebbdd7fa6 /pkg/domain/infra/tunnel
parentbaf3a9b3a72e4d98ad30ee56a7dd81812fb1fd21 (diff)
downloadpodman-4a00409bf8c88174cbdbc12760d3f8ddce9621de.tar.gz
podman-4a00409bf8c88174cbdbc12760d3f8ddce9621de.tar.bz2
podman-4a00409bf8c88174cbdbc12760d3f8ddce9621de.zip
fix remote connection use of context
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel')
-rw-r--r--pkg/domain/infra/tunnel/containers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/containers.go b/pkg/domain/infra/tunnel/containers.go
index c869ad2f3..d2d93d51b 100644
--- a/pkg/domain/infra/tunnel/containers.go
+++ b/pkg/domain/infra/tunnel/containers.go
@@ -8,7 +8,7 @@ import (
)
func (ic *ContainerEngine) ContainerExists(ctx context.Context, nameOrId string) (*entities.BoolReport, error) {
- exists, err := containers.Exists(ctx, nameOrId)
+ exists, err := containers.Exists(ic.ClientCxt, nameOrId)
return &entities.BoolReport{Value: exists}, err
}