mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dynect|dns] return the zone name.
This commit is contained in:
parent
f40dac8103
commit
886fb5a6d3
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module Fog
|
|||
records = zone[:records][type].select { |record| record[:fqdn] == fqdn }
|
||||
response.body = {
|
||||
"status" => "success",
|
||||
"data" => records.collect { |record| "/REST/ARecord/#{record[:zone]}/#{record[:fqdn]}/#{record[:record_id]}" },
|
||||
"data" => records.collect { |record| "/REST/ARecord/#{record[:zone][:zone]}/#{record[:fqdn]}/#{record[:record_id]}" },
|
||||
"job_id" => Fog::Dynect::Mock.job_id,
|
||||
"msgs" => [{
|
||||
"INFO" => "detail: Found #{records.size} record",
|
||||
|
|
Loading…
Reference in a new issue