Revert "fix(deployment): Remove redundant docker rm when using --rm flag"

This commit is contained in:
Andras Bacsai
2025-12-18 13:20:59 +01:00
committed by GitHub
parent 922c0a9e7c
commit 21ce75e4d4
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -669,7 +669,7 @@ class DatabaseBackupJob implements ShouldBeEncrypted, ShouldQueue
$this->add_to_error_output($e->getMessage());
throw $e;
} finally {
$command = "docker stop backup-of-{$this->backup_log_uuid}";
$command = "docker rm -f backup-of-{$this->backup_log_uuid}";
instant_remote_process([$command], $this->server, true, false, null, disableMultiplexing: true);
}
}