summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/helpers.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-12-16 15:37:43 -0600
committerbaude <bbaude@redhat.com>2020-12-17 12:08:22 -0600
commit9ec7603e1bb21dab11460eb6e51578a0e29e4c66 (patch)
tree5020a88efffc411bc6b92b44eb569c6061a4dfe3 /pkg/domain/infra/tunnel/helpers.go
parenta17afa931d1aa73b8657cf26de3b49841837f66d (diff)
downloadpodman-9ec7603e1bb21dab11460eb6e51578a0e29e4c66.tar.gz
podman-9ec7603e1bb21dab11460eb6e51578a0e29e4c66.tar.bz2
podman-9ec7603e1bb21dab11460eb6e51578a0e29e4c66.zip
podman v3 pod bindings
add options to each pod binding for future wiggle room Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/infra/tunnel/helpers.go')
-rw-r--r--pkg/domain/infra/tunnel/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/helpers.go b/pkg/domain/infra/tunnel/helpers.go
index 63f9546be..cd116995f 100644
--- a/pkg/domain/infra/tunnel/helpers.go
+++ b/pkg/domain/infra/tunnel/helpers.go
@@ -90,7 +90,7 @@ func getPodsByContext(contextWithConnection context.Context, all bool, namesOrID
// First determine if the pod exists by doing an inspect.
// Inspect takes supports names and IDs and let's us determine
// a containers full ID.
- inspectData, err := pods.Inspect(contextWithConnection, nameOrID)
+ inspectData, err := pods.Inspect(contextWithConnection, nameOrID, nil)
if err != nil {
if errorhandling.Contains(err, define.ErrNoSuchPod) {
return nil, errors.Wrapf(define.ErrNoSuchPod, "unable to find pod %q", nameOrID)