mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
Fix nssets problem
This commit is contained in:
parent
a500e0831f
commit
b664a192f5
1 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@ namespace :import do
|
|||
end
|
||||
|
||||
# nameservers
|
||||
x.nsset.try(:hosts).each do |host|
|
||||
x.nsset.hosts.each do |host|
|
||||
ip_maps = host.host_ipaddr_maps
|
||||
ips = {}
|
||||
ip_maps.each do |ip_map|
|
||||
|
@ -348,7 +348,7 @@ namespace :import do
|
|||
user,
|
||||
x.id
|
||||
]
|
||||
end
|
||||
end if x.nsset
|
||||
|
||||
x.dnskeys.each do |key|
|
||||
dnskeys << [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue