mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 11:47:30 +02:00
updated condition
This commit is contained in:
parent
aba8c1fb17
commit
e3b370e7c1
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module NameserverValidator
|
|||
# result_response = validate(domain_name: domain_name, hostname: nameserver.ipv6)
|
||||
end
|
||||
|
||||
return { result: false, reason: 'glup record' } if result.answer.empty? if result_response[:result]
|
||||
return { result: false, reason: 'glup record' } unless result_response[:result]
|
||||
|
||||
return result_response
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue