fix: new way to update container statuses

This commit is contained in:
Andras Bacsai committed 2024-11-03 09:02:14 +01:00
1 parent 2eab9296cf
commit ca7c214775
23 files changed
+602 -35

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ class ServerStorageCheckJob implements ShouldBeEncrypted, ShouldQueue
public function handle()
{
try {
if (! $this->server->isFunctional()) {
return 'Server is not ready.';
if ($this->server->isFunctional() === false) {
return 'Server is not functional.';
}
$team = data_get($this->server, 'team');
$serverDiskUsageNotificationThreshold = data_get($this->server, 'settings.server_disk_usage_notification_threshold');