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
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
0a2ee69f3d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue