Fix for issue#533
diff --git a/openstack/blockstorage/v1/apiversions/urls.go b/openstack/blockstorage/v1/apiversions/urls.go
index 56f8260..78f9645 100644
--- a/openstack/blockstorage/v1/apiversions/urls.go
+++ b/openstack/blockstorage/v1/apiversions/urls.go
@@ -2,6 +2,7 @@
import (
"strings"
+ "net/url"
"github.com/rackspace/gophercloud"
)
@@ -11,5 +12,7 @@
}
func listURL(c *gophercloud.ServiceClient) string {
- return c.ServiceURL("")
+ u, _ := url.Parse(c.ServiceURL(""))
+ u.Path = "/"
+ return u.String()
}