mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
change cleanup logic when restarting containers
This commit is contained in:
1 parent
dfbe5f4514
commit
8aef5df539
2 files changed
+2
-2
No files matched your search
@@ -26,7 +26,7 @@ class StopDatabase
|
||||
}
|
||||
|
||||
$this->stopContainer($database, $database->uuid, 300);
|
||||
if (! $isDeleteOperation) {
|
||||
if ($isDeleteOperation) {
|
||||
if ($dockerCleanup) {
|
||||
CleanupDocker::dispatch($server, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user