summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-02 18:33:45 +0100
committerGitHub <noreply@github.com>2020-03-02 18:33:45 +0100
commitf5c853ca996b2c16f748031430e16fffb96797f2 (patch)
tree1cd6eea444cb0ae5ae9f61c98dc946276a0ca912 /pkg
parent86ed329ad1720b3481f7901266ac9081e31b5464 (diff)
parent90307af24b66645e8c9f2359c41e4d51d4b3b4b3 (diff)
downloadpodman-f5c853ca996b2c16f748031430e16fffb96797f2.tar.gz
podman-f5c853ca996b2c16f748031430e16fffb96797f2.tar.bz2
podman-f5c853ca996b2c16f748031430e16fffb96797f2.zip
Merge pull request #5343 from lsm5/fix-exists-url
container Exists: fix URL
Diffstat (limited to 'pkg')
-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
}