Merge pull request #3264 from Vahor/install-log-drain-spam

fix: don't check logDrain installation if it's not enabled
This commit is contained in:
Andras Bacsai
2024-09-05 11:40:22 +02:00
committed by GitHub

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();