mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
refactor: Simplify log drain installation in ServerCheckJob
This commit is contained in:
1 parent
2725a93bfd
commit
ddb4b4d215
1 file changed
+1
-9
@@ -162,15 +162,7 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueue
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user