diff options
author | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2020-02-27 11:55:17 -0500 |
---|---|---|
committer | Lokesh Mandvekar <lsm5@fedoraproject.org> | 2020-02-27 11:55:46 -0500 |
commit | 90307af24b66645e8c9f2359c41e4d51d4b3b4b3 (patch) | |
tree | 72606e721b99fc8eae35fecdbf6064e810413b21 | |
parent | 25d29f959a16a881066727481cbbc0bd2d18c784 (diff) | |
download | podman-90307af24b66645e8c9f2359c41e4d51d4b3b4b3.tar.gz podman-90307af24b66645e8c9f2359c41e4d51d4b3b4b3.tar.bz2 podman-90307af24b66645e8c9f2359c41e4d51d4b3b4b3.zip |
container Exists: fix URL
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
-rw-r--r-- | pkg/bindings/containers/containers.go | 2 |
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 } |