summaryrefslogtreecommitdiff
path: root/pkg/bindings
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2020-02-27 11:55:17 -0500
committerLokesh Mandvekar <lsm5@fedoraproject.org>2020-02-27 11:55:46 -0500
commit90307af24b66645e8c9f2359c41e4d51d4b3b4b3 (patch)
tree72606e721b99fc8eae35fecdbf6064e810413b21 /pkg/bindings
parent25d29f959a16a881066727481cbbc0bd2d18c784 (diff)
downloadpodman-90307af24b66645e8c9f2359c41e4d51d4b3b4b3.tar.gz
podman-90307af24b66645e8c9f2359c41e4d51d4b3b4b3.tar.bz2
podman-90307af24b66645e8c9f2359c41e4d51d4b3b4b3.zip
container Exists: fix URL
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'pkg/bindings')
-rw-r--r--pkg/bindings/containers/containers.go2
1 files changed, 1 insertions, 1 deletions
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
}