refactor: Simplify log drain installation in ServerCheckJob
This commit is contained in:
parent
2725a93bfd
commit
ddb4b4d215
1 changed files with 1 additions and 9 deletions
|
|
@ -162,15 +162,7 @@ private function checkLogDrainContainer()
|
|||
InstallLogDrain::dispatch($this->server);
|
||||
}
|
||||
} else {
|
||||
if ($this->server->settings->is_logdrain_newrelic_enabled) {
|
||||
InstallLogDrain::dispatch($this->server);
|
||||
} elseif ($this->server->settings->is_logdrain_highlight_enabled) {
|
||||
InstallLogDrain::dispatch($this->server);
|
||||
} elseif ($this->server->settings->is_logdrain_axiom_enabled) {
|
||||
InstallLogDrain::dispatch($this->server);
|
||||
} elseif ($this->server->settings->is_logdrain_custom_enabled) {
|
||||
InstallLogDrain::dispatch($this->server);
|
||||
}
|
||||
InstallLogDrain::dispatch($this->server);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue