From 4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 18 Jan 2021 09:29:40 -0600 Subject: Add binding options for container|pod exists It turns out an options was added to container exists so it makes sense to have pods and container exists calls have an optional structure for options. Signed-off-by: baude --- pkg/domain/infra/tunnel/pods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/domain/infra/tunnel/pods.go') diff --git a/pkg/domain/infra/tunnel/pods.go b/pkg/domain/infra/tunnel/pods.go index aa7b92fa7..d61c95d57 100644 --- a/pkg/domain/infra/tunnel/pods.go +++ b/pkg/domain/infra/tunnel/pods.go @@ -12,7 +12,7 @@ import ( ) func (ic *ContainerEngine) PodExists(ctx context.Context, nameOrID string) (*entities.BoolReport, error) { - exists, err := pods.Exists(ic.ClientCtx, nameOrID) + exists, err := pods.Exists(ic.ClientCtx, nameOrID, nil) return &entities.BoolReport{Value: exists}, err } -- cgit v1.2.3-54-g00ecf