don't check logDrain installation if it's not enabled

This commit is contained in:
Vahor
2024-08-30 17:29:25 +02:00
parent 278c8c6ec6
commit bf475e538c

View File

@@ -124,6 +124,9 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
private function checkLogDrainContainer()
{
if(! $this->server->isLogDrainEnabled()) {
return;
}
$foundLogDrainContainer = $this->containers->filter(function ($value, $key) {
return data_get($value, 'Name') === '/coolify-log-drain';
})->first();