commit | 7ddf036bc52339f9e054c383ff73227260910af0 | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Wed Sep 17 10:59:09 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Wed Sep 17 21:14:47 2014 -0400 |
tree | 0e1fb285d6aeb28b8e678e7a9906f4f783d3f277 | |
parent | 122593968ac5776cdf0abe33fcd961563e464b32 [diff] [blame] |
Implement images.Get(). Image tests now pass.
diff --git a/openstack/compute/v2/images/urls.go b/openstack/compute/v2/images/urls.go index 0e40a4e..93fa8d2 100644 --- a/openstack/compute/v2/images/urls.go +++ b/openstack/compute/v2/images/urls.go
@@ -5,3 +5,7 @@ func getListURL(client *gophercloud.ServiceClient) string { return client.ServiceURL("images", "detail") } + +func getImageURL(client *gophercloud.ServiceClient, id string) string { + return client.ServiceURL("images", id) +}