From 3d26fa8ddde4a4e0161ea11a17cfe1e7343457f0 Mon Sep 17 00:00:00 2001 From: Igor Alexandrov Date: Fri, 22 Mar 2024 14:27:18 +0400 Subject: [PATCH] Updated confirmation text for the traefik reboot command --- lib/kamal/cli/traefik.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kamal/cli/traefik.rb b/lib/kamal/cli/traefik.rb index a4dd120b..c13e2d80 100644 --- a/lib/kamal/cli/traefik.rb +++ b/lib/kamal/cli/traefik.rb @@ -13,7 +13,7 @@ class Kamal::Cli::Traefik < Kamal::Cli::Base option :rolling, type: :boolean, default: false, desc: "Reboot traefik on hosts in sequence, rather than in parallel" option :confirmed, aliases: "-y", type: :boolean, default: false, desc: "Proceed without confirmation question" def reboot - confirming "Reboot Traefik on hosts? (stop container, remove container, start new container). This will cause a brief outage." do + confirming "This will cause a brief outage on each host. Are you sure?" do mutating do host_groups = options[:rolling] ? KAMAL.traefik_hosts : [ KAMAL.traefik_hosts ] host_groups.each do |hosts|