fix(server): update server usability check to reflect actual Docker availability status
This commit is contained in:
@@ -78,11 +78,11 @@ class ServerConnectionCheckJob implements ShouldBeEncrypted, ShouldQueue
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Server is reachable, check if Docker is available
|
// Server is reachable, check if Docker is available
|
||||||
// $isUsable = $this->checkDockerAvailability();
|
$isUsable = $this->checkDockerAvailability();
|
||||||
|
|
||||||
$this->server->settings->update([
|
$this->server->settings->update([
|
||||||
'is_reachable' => true,
|
'is_reachable' => true,
|
||||||
'is_usable' => true,
|
'is_usable' => $isUsable,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
|
Reference in New Issue
Block a user