fix: server status job

This commit is contained in:
Andras Bacsai
2024-01-17 11:52:56 +01:00
parent b6ce2e9122
commit a635e51486
5 changed files with 11 additions and 4 deletions

View File

@@ -44,8 +44,8 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted
public function handle()
{
if (!$this->server->isServerReady($this->tries)) {
return 'Server is not reachable.';
if (!$this->server->isFunctional()) {
return 'Server is not ready.';
};
try {
if ($this->server->isSwarm()) {