From 90307af24b66645e8c9f2359c41e4d51d4b3b4b3 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Thu, 27 Feb 2020 11:55:17 -0500 Subject: container Exists: fix URL Signed-off-by: Lokesh Mandvekar --- pkg/bindings/containers/containers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/bindings') diff --git a/pkg/bindings/containers/containers.go b/pkg/bindings/containers/containers.go index 2985787a6..337cc4178 100644 --- a/pkg/bindings/containers/containers.go +++ b/pkg/bindings/containers/containers.go @@ -233,7 +233,7 @@ func Exists(ctx context.Context, nameOrID string) (bool, error) { if err != nil { return false, err } - response, err := conn.DoRequest(nil, http.MethodGet, "containers/%s/exists", nil, nameOrID) + response, err := conn.DoRequest(nil, http.MethodGet, "/containers/%s/exists", nil, nameOrID) if err != nil { return false, err } -- cgit v1.2.3-54-g00ecf