mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2544 from rackspace/keypair_attributes
[rackspace|compute_v2] updates key_pair model to pass additional attributes
This commit is contained in:
commit
579aa0b696
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Fog
|
|||
# @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
|
||||
|
|
Loading…
Reference in a new issue