container Exists: fix URL

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2020-02-27 11:55:17 -05:00
parent 25d29f959a
commit 90307af24b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}