mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 12:33:06 +00:00
Fix log drain issue in advanced and service application
This commit is contained in:
@@ -23,7 +23,7 @@ class Advanced extends Component
|
||||
];
|
||||
public function instantSave()
|
||||
{
|
||||
if ($this->application->settings->is_log_drain_enabled) {
|
||||
if ($this->application->isLogDrainEnabled()) {
|
||||
if (!$this->application->destination->server->isLogDrainEnabled()) {
|
||||
$this->application->settings->is_log_drain_enabled = false;
|
||||
$this->emit('error', 'Log drain is not enabled on this server.');
|
||||
|
||||
Reference in New Issue
Block a user