Project

General

Profile

« Previous | Next » 

Revision 23bb5a07

Added by Lukas Zapletal over 2 years ago

Refs #34226 - dnscmd nil string error

Signed-off-by: Lukas Zapletal <>

View differences:

modules/dns_dnscmd/dns_dnscmd_main.rb
def enum_records(zone_name, node_name, type)
records = []
response = execute "/EnumRecords", zone_name, "#{node_name}.", "/Type", type, "EnumRecords", error_only: true
response = execute "/EnumRecords", zone_name, "#{node_name}.", "/Type", type, error_only: true
response.each do |line|
line.chomp!
logger.debug "Extracting record from dnscmd output '#{line}'"

Also available in: Unified diff