commit | 982c86d8e4e1aa7204946bbf8eebba0770d3a89f | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Mon May 05 21:13:54 2014 -0500 |
committer | Jon Perritt <jrperritt@gmail.com> | Wed Oct 01 10:36:51 2014 -0500 |
tree | e22f1059d26b60486565d7c71a9020a5a72eedf2 | |
parent | 687c7d01754ca919980f311e2ffcba4f19590c48 [diff] [blame] |
delete snapshot
diff --git a/openstack/blockstorage/v1/client.go b/openstack/blockstorage/v1/client.go index 40cab6c..52477ff 100644 --- a/openstack/blockstorage/v1/client.go +++ b/openstack/blockstorage/v1/client.go
@@ -34,6 +34,10 @@ return fmt.Sprintf("%s/snapshots", c.endpoint) } +func (c *Client) GetSnapshotURL(id string) string { + return fmt.Sprintf("%s/snapshots/%s", c.endpoint, id) +} + func (c *Client) GetHeaders() (map[string]string, error) { t, err := c.getAuthToken() if err != nil {