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]
|
# @raise [Fog::Compute::RackspaceV2::ServiceError]
|
||||||
def save
|
def save
|
||||||
requires :name
|
requires :name
|
||||||
data = service.create_keypair(name, public_key)
|
data = service.create_keypair(name, attributes)
|
||||||
merge_attributes(data.body['keypair'])
|
merge_attributes(data.body['keypair'])
|
||||||
data.body['keypair']['name'] == name
|
data.body['keypair']['name'] == name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue