commit | 8c1e03721d5bbc6cdbdd0c94cbfa30091ad7c60f | [log] [tgz] |
---|---|---|
author | Jesse Nelson <spheromak@gmail.com> | Thu Apr 16 10:54:40 2015 -0700 |
committer | Jesse Nelson <spheromak@gmail.com> | Thu Apr 16 10:54:40 2015 -0700 |
tree | 8c79c77c27e1bdb22af4dc62182ffd48ed142a3f | |
parent | ab02e57b4ccdda04b56c057fcb8f2dfb4e2164b0 [diff] [blame] |
Fixup URL assembly, add simple test
diff --git a/openstack/compute/v2/images/urls.go b/openstack/compute/v2/images/urls.go index 9b3c86d..b1bf103 100644 --- a/openstack/compute/v2/images/urls.go +++ b/openstack/compute/v2/images/urls.go
@@ -9,3 +9,7 @@ func getURL(client *gophercloud.ServiceClient, id string) string { return client.ServiceURL("images", id) } + +func deleteURL(client *gophercloud.ServiceClient, id string) string { + return client.ServiceURL("images", id) +}