commit | e6dbb17f1ece65e7557036dcff5299e46411cfd3 | [log] [tgz] |
---|---|---|
author | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Mon Sep 11 10:24:31 2017 +0200 |
committer | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Mon Sep 11 10:24:31 2017 +0200 |
tree | de2669f85371a1de1a540e465c4c7e9dbb81badd | |
parent | e28b2e2a4cd9ec116f481aff51726f6f64e85f55 [diff] |
Fix for url in Image Service Change-Id: I75fa73f3eda76c7dfe27fecdfde5c2ab84a743c5
diff --git a/openstack/client.go b/openstack/client.go index b06a981..cf45329 100644 --- a/openstack/client.go +++ b/openstack/client.go
@@ -340,7 +340,5 @@ if err != nil { return nil, err } - return &gophercloud.ServiceClient{ProviderClient: client, - Endpoint: url, - ResourceBase: url + "v2/"}, nil + return &gophercloud.ServiceClient{ProviderClient: client, Endpoint: url}, nil }