summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/images.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2021-01-18 09:29:40 -0600
committerbaude <bbaude@redhat.com>2021-01-18 13:48:51 -0600
commit4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e (patch)
treeed2003809730d195c95905cf4c307a8e9047d2d0 /pkg/bindings/images/images.go
parent5b3c7a52939275784c45c9747dd5864bd0581ff5 (diff)
downloadpodman-4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e.tar.gz
podman-4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e.tar.bz2
podman-4ccb0729b4f0a25eb53f62c2f6ca7f8925f0fe4e.zip
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 <bbaude@redhat.com>
Diffstat (limited to 'pkg/bindings/images/images.go')
-rw-r--r--pkg/bindings/images/images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/images/images.go b/pkg/bindings/images/images.go
index ae6962c8c..37750bc6c 100644
--- a/pkg/bindings/images/images.go
+++ b/pkg/bindings/images/images.go
@@ -18,7 +18,7 @@ import (
// Exists a lightweight way to determine if an image exists in local storage. It returns a
// boolean response.
-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