mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 01:03:35 +02:00
108078584-import_conditions_change
This commit is contained in:
parent
46e502080f
commit
72a6394f57
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ namespace :import do
|
||||||
:domain_contact_maps,
|
:domain_contact_maps,
|
||||||
nsset: { hosts: :host_ipaddr_maps }
|
nsset: { hosts: :host_ipaddr_maps }
|
||||||
).find_each(batch_size: 10000).with_index do |x, index|
|
).find_each(batch_size: 10000).with_index do |x, index|
|
||||||
next if existing_domain_ids.include?(x.id)
|
next if existing_domain_ids.include?(x.id) || Registrar.find_by(legacy_id: x.object.try(:clid)).try(:name) == 'eedirect'
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue