mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix: server validation
This commit is contained in:
parent
904ffc894d
commit
825e9b7e9d
1 changed files with 2 additions and 5 deletions
|
|
@ -974,10 +974,10 @@ $schema://$host {
|
|||
|
||||
public function serverStatus(): bool
|
||||
{
|
||||
if ($this->isFunctional() === false) {
|
||||
if ($this->status() === false) {
|
||||
return false;
|
||||
}
|
||||
if ($this->status() === false) {
|
||||
if ($this->isFunctional() === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -986,9 +986,6 @@ $schema://$host {
|
|||
|
||||
public function status(): bool
|
||||
{
|
||||
if ($this->isFunctional() === false) {
|
||||
return false;
|
||||
}
|
||||
['uptime' => $uptime] = $this->validateConnection(false);
|
||||
if ($uptime === false) {
|
||||
foreach ($this->applications() as $application) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue