1
0
Fork 0
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:
Ferran Rodenas 2012-06-24 17:33:15 +02:00
parent a52c6f8f0c
commit b5d38ad306

View file

@ -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