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/bindings/pods/pods.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/bindings/pods/pods.go')
-rw-r--r-- | pkg/bindings/pods/pods.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |