Skip to content

Commit

Permalink
Merge pull request fog#1001 from frodenas/openstack-volume-snapshot
Browse files Browse the repository at this point in the history
[openstack] Fix create snapshot
  • Loading branch information
geemus committed Jun 24, 2012
2 parents 58e6f12 + b5d38ad commit 414aa65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/openstack/models/compute/snapshot.rb
Expand Up @@ -24,7 +24,7 @@ def initialize(attributes)

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
Expand Down

0 comments on commit 414aa65

Please sign in to comment.