From bb2ca81d87e6860e47cd9f7539cb0db2fd083e45 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Mon, 20 May 2024 11:26:22 +0100 Subject: [PATCH] Fix rebase method duplication --- lib/kamal/cli/app/boot.rb | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/kamal/cli/app/boot.rb b/lib/kamal/cli/app/boot.rb index e9b167fe..a91c6ffa 100644 --- a/lib/kamal/cli/app/boot.rb +++ b/lib/kamal/cli/app/boot.rb @@ -22,18 +22,6 @@ class Kamal::Cli::App::Boot end private - def app - @app ||= KAMAL.app(role: role, host: host) - end - - def auditor - @auditor = KAMAL.auditor(role: role) - end - - def audit(message) - execute *auditor.record(message), verbosity: :debug - end - def old_version_renamed_if_clashing if capture_with_info(*app.container_id_for_version(version), raise_on_non_zero_exit: false).present? renamed_version = "#{version}_replaced_#{SecureRandom.hex(8)}" @@ -105,7 +93,7 @@ class Kamal::Cli::App::Boot end def app - @app ||= KAMAL.app(role: role) + @app ||= KAMAL.app(role: role, host: host) end def auditor