Note that rebooting may cause air gap

This commit is contained in:
David Heinemeier Hansson
2023-02-23 12:16:58 +01:00
parent f4f2b5cb17
commit bc6963e6bf

View File

@@ -22,7 +22,7 @@ class Mrsk::Cli::App < Mrsk::Cli::Base
rescue SSHKit::Command::Failed => e
if e.message =~ /already in use/
error "Rebooting container with same version #{version} already deployed on #{host}"
error "Rebooting container with same version #{version} already deployed on #{host} (may cause gap in zero-downtime promise!)"
execute *MRSK.auditor.record("Rebooted app version #{version}"), verbosity: :debug
execute *MRSK.app.stop(version: version)