commit | 687c7d01754ca919980f311e2ffcba4f19590c48 | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Mon May 05 18:44:54 2014 -0500 |
committer | Jon Perritt <jrperritt@gmail.com> | Wed Oct 01 10:36:51 2014 -0500 |
tree | 39d7104f49e1f491f82e148d4b0dcc7311cbe83e | |
parent | 94963ad5e217fef089abe28679ae6d8f0c5c575a [diff] [blame] |
create snapshot
diff --git a/openstack/blockstorage/v1/client.go b/openstack/blockstorage/v1/client.go index dfce924..40cab6c 100644 --- a/openstack/blockstorage/v1/client.go +++ b/openstack/blockstorage/v1/client.go
@@ -30,6 +30,10 @@ return fmt.Sprintf("%s/volumes/%s", c.endpoint, id) } +func (c *Client) GetSnapshotsURL() string { + return fmt.Sprintf("%s/snapshots", c.endpoint) +} + func (c *Client) GetHeaders() (map[string]string, error) { t, err := c.getAuthToken() if err != nil {