mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack] Fix create snapshot
This commit is contained in:
parent
a52c6f8f0c
commit
b5d38ad306
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module Fog
|
|||
|
||||
def save(force=false)
|
||||
requires :volume_id, :name, :description
|
||||
data = connection.create_volume(volume_id, name, description, force)
|
||||
data = connection.create_volume_snapshot(volume_id, name, description, force)
|
||||
merge_attributes(data.body['snapshot'])
|
||||
true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue