Fix server unreachable notification count

This commit is contained in:
Andras Bacsai
2023-11-17 15:18:08 +01:00
parent 9ce3b43e09
commit b0c96e64c9
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted
ray("checking container statuses for {$this->server->id}");
try {
if (!$this->server->isServerReady()) {
throw new \Exception('Server is not ready.');
return;
};
$containers = instant_remote_process(["docker container ls -q"], $this->server);
if (!$containers) {