mirror of https://github.com/containers/podman.git
container Exists: fix URL
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
25d29f959a
commit
90307af24b
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue