commit | e4c5dcc6545f69166a069de240799c3a22429ad6 | [log] [tgz] |
---|---|---|
author | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Thu Sep 14 14:04:46 2017 +0200 |
committer | Krzysztof Szukiełojć <kszukielojc@mirantis.com> | Mon Sep 18 11:31:58 2017 +0200 |
tree | f032f0d3b711ff0d43ef596b8d5698852d4d7ad7 | |
parent | b696646ed0cdae80af8a01701eeb214d25044412 [diff] [blame] |
Fix for image servcie v2 client Change-Id: Ic316efe884ed7640c460d3e71024f06729a3880e
diff --git a/openstack/imageservice/v2/images/urls.go b/openstack/imageservice/v2/images/urls.go index 4c55d34..59b9880 100644 --- a/openstack/imageservice/v2/images/urls.go +++ b/openstack/imageservice/v2/images/urls.go
@@ -39,6 +39,6 @@ // builds next page full url based on current url func nextPageURL(currentURL string, next string) string { - base := currentURL[:strings.Index(currentURL, "/images")] + base := currentURL[:strings.Index(currentURL, "/v2/images")] return base + next }