diff --git a/app/Models/Node.php b/app/Models/Node.php index 85a8053bd..0dd86b672 100644 --- a/app/Models/Node.php +++ b/app/Models/Node.php @@ -365,16 +365,20 @@ class Node extends Model implements Validatable ]; try { - $this->systemInformation(); - return Http::daemon($this) + $data = Http::daemon($this) ->connectTimeout(1) ->timeout(1) ->get('/api/system/utilization') - ->json() ?? $default; + ->json(); + + if ($data['memory_total']) { + return $data; + } } catch (Exception) { - return $default; } + + return $default; } /** @return string[] */