mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 07:06:23 +00:00
fixup! feat: eliminar registros en njalla
This commit is contained in:
parent
03a5742889
commit
7caa27102e
1 changed files with 2 additions and 2 deletions
|
@ -167,9 +167,9 @@ class DeployDistributedPress < Deploy
|
|||
|
||||
def delete_njalla_records!
|
||||
%w[a ns cname].each do |type|
|
||||
next unless (id = remote_info.dig('njalla', type, 'id'))
|
||||
next if (id = remote_info.dig('njalla', type, 'id')).blank?
|
||||
|
||||
njalla.remove_record(id: id)
|
||||
njalla.remove_record(id: id.to_i)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue