Skip to content

Commit

Permalink
[openstack] Fix create snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
frodenas committed Jun 24, 2012
1 parent a52c6f8 commit b5d38ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/openstack/models/compute/snapshot.rb
Original file line number Diff line number Diff line change
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 b5d38ad

Please sign in to comment.