From 48defa9058a5b8980ad89c7e53afffd63416ca83 Mon Sep 17 00:00:00 2001 From: Sutty Date: Wed, 6 Mar 2024 15:30:50 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20no=20cambiar=20el=20hostname=20si=20se?= =?UTF-8?q?=20lo=20asign=C3=B3=20manualmente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 addb817d..bc89a8b6 100644 --- a/app/models/deploy_distributed_press.rb +++ b/app/models/deploy_distributed_press.rb @@ -130,7 +130,7 @@ class DeployDistributedPress < Deploy # # @return [nil] def create_remote_site! - self.hostname = site.hostname + self.hostname ||= site.hostname created_site = site_client.create(create_site)