Skip to content

Commit bb2ca81

Browse files
committed
Fix rebase method duplication
1 parent 773ba3a commit bb2ca81

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

lib/kamal/cli/app/boot.rb

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,6 @@ def run
2222
end
2323

2424
private
25-
def app
26-
@app ||= KAMAL.app(role: role, host: host)
27-
end
28-
29-
def auditor
30-
@auditor = KAMAL.auditor(role: role)
31-
end
32-
33-
def audit(message)
34-
execute *auditor.record(message), verbosity: :debug
35-
end
36-
3725
def old_version_renamed_if_clashing
3826
if capture_with_info(*app.container_id_for_version(version), raise_on_non_zero_exit: false).present?
3927
renamed_version = "#{version}_replaced_#{SecureRandom.hex(8)}"
@@ -105,7 +93,7 @@ def barrier_role?
10593
end
10694

10795
def app
108-
@app ||= KAMAL.app(role: role)
96+
@app ||= KAMAL.app(role: role, host: host)
10997
end
11098

11199
def auditor

0 commit comments

Comments
 (0)