change cleanup logic when restarting containers

This commit is contained in:
Darren Sisson
2025-03-17 17:52:34 +00:00
parent dfbe5f4514
commit 8aef5df539
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ class StopDatabase
}
$this->stopContainer($database, $database->uuid, 300);
if (! $isDeleteOperation) {
if ($isDeleteOperation) {
if ($dockerCleanup) {
CleanupDocker::dispatch($server, true);
}