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/bindings/pods/pods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/bindings/pods/pods.go') diff --git a/pkg/bindings/pods/pods.go b/pkg/bindings/pods/pods.go index 4fcaf81f1..ef30348f8 100644 --- a/pkg/bindings/pods/pods.go +++ b/pkg/bindings/pods/pods.go @@ -38,7 +38,7 @@ func CreatePodFromSpec(ctx context.Context, s *specgen.PodSpecGenerator, options } // Exists is a lightweight method to determine if a pod exists in local storage -func Exists(ctx context.Context, nameOrID string) (bool, error) { +func Exists(ctx context.Context, nameOrID string, options *ExistsOptions) (bool, error) { conn, err := bindings.GetClient(ctx) if err != nil { return false, err -- cgit v1.2.3-54-g00ecf