don't check logDrain installation if it's not enabled
This commit is contained in:
parent
278c8c6ec6
commit
bf475e538c
1 changed files with 3 additions and 0 deletions
|
|
@ -124,6 +124,9 @@ private function serverStatus()
|
||||||
|
|
||||||
private function checkLogDrainContainer()
|
private function checkLogDrainContainer()
|
||||||
{
|
{
|
||||||
|
if(! $this->server->isLogDrainEnabled()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
$foundLogDrainContainer = $this->containers->filter(function ($value, $key) {
|
$foundLogDrainContainer = $this->containers->filter(function ($value, $key) {
|
||||||
return data_get($value, 'Name') === '/coolify-log-drain';
|
return data_get($value, 'Name') === '/coolify-log-drain';
|
||||||
})->first();
|
})->first();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue