5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 09:16:22 +00:00

Merge branch 'issue-10464' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-03-31 13:44:28 -03:00
commit 0a2ee69f3d

View file

@ -169,9 +169,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