From 03a5742889d9c8597a717e94a7d360187f1a5ad4 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 31 Mar 2023 13:42:23 -0300 Subject: [PATCH] fixup! feat: eliminar registros en njalla --- app/models/deploy_distributed_press.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/deploy_distributed_press.rb b/app/models/deploy_distributed_press.rb index 5ae4bb43..99e42926 100644 --- a/app/models/deploy_distributed_press.rb +++ b/app/models/deploy_distributed_press.rb @@ -166,7 +166,7 @@ class DeployDistributedPress < Deploy end def delete_njalla_records! - %[a ns cname].each do |type| + %w[a ns cname].each do |type| next unless (id = remote_info.dig('njalla', type, 'id')) njalla.remove_record(id: id)