Skip to content

Commit

Permalink
[rackspace|compute_v2] updates key_pair model to pass additional attr…
Browse files Browse the repository at this point in the history
…ibutes onto compute service. (You can now pass public and private keys via the model)
  • Loading branch information
Kyle Rames committed Jan 8, 2014
1 parent a0a5710 commit 79755ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fog/rackspace/models/compute_v2/key_pair.rb
Expand Up @@ -33,7 +33,7 @@ class KeyPair < Fog::Model
# @raise [Fog::Compute::RackspaceV2::ServiceError]
def save
requires :name
data = service.create_keypair(name, public_key)
data = service.create_keypair(name, attributes)
merge_attributes(data.body['keypair'])
data.body['keypair']['name'] == name
end
Expand Down

0 comments on commit 79755ab

Please sign in to comment.