mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[rackspace][dns] fixes for job request format
This commit is contained in:
parent
9aabd850fd
commit
2ac4ff250f
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ module Fog
|
|||
}
|
||||
|
||||
response = wait_for_job connection.add_records(@zone.identity, [options]).body['jobId']
|
||||
merge_attributes(response.body['request']['records'].first)
|
||||
merge_attributes(response.body['request']['records'].select {|record| record['name'] == self.name && record['type'] == self.type && record['value'] == self.value})
|
||||
true
|
||||
end
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ module Fog
|
|||
response = connection.create_domains([data])
|
||||
|
||||
response = wait_for_job response.body['jobId']
|
||||
merge_attributes(response.body['domains'].first)
|
||||
merge_attributes(response.body['request']['domains'].select {|domain| domain['name'] == self.domain})
|
||||
end
|
||||
|
||||
def update
|
||||
|
|
Loading…
Reference in a new issue