Explain method better

This commit is contained in:
dhh
2023-09-16 09:53:03 -07:00
parent 76a3086569
commit 3ae855ef28
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ class Kamal::Cli::App < Kamal::Cli::Base
on(KAMAL.hosts) do
execute *KAMAL.auditor.record("Tagging #{KAMAL.config.absolute_image} as the latest image"), verbosity: :debug
execute *KAMAL.app.tag_current_as_latest
execute *KAMAL.app.tag_current_image_as_latest
KAMAL.roles_on(host).each do |role|
app = KAMAL.app(role: role)

View File

@@ -116,7 +116,7 @@ class Kamal::Commands::App < Kamal::Commands::Base
docker :image, :prune, "--all", "--force", *filter_args
end
def tag_current_as_latest
def tag_current_image_as_latest
docker :tag, config.absolute_image, config.latest_image
end