mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dynect|dns] accidentally hardcoded the record type in the mocked data.
This commit is contained in:
parent
886fb5a6d3
commit
3cb55c46ac
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][:zone]}/#{record[:fqdn]}/#{record[:record_id]}" },
|
||||
"data" => records.collect { |record| "/REST/#{record[:type]}Record/#{record[:zone][:zone]}/#{record[:fqdn]}/#{record[:record_id]}" },
|
||||
"job_id" => Fog::Dynect::Mock.job_id,
|
||||
"msgs" => [{
|
||||
"INFO" => "detail: Found #{records.size} record",
|
||||
|
|
Loading…
Add table
Reference in a new issue