mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
Refactor unmanagedContainers property in Resources.php and add conditional return in loadUnmanagedContainers() method
This commit is contained in:
@@ -275,6 +275,8 @@ class Server extends BaseModel
|
||||
});
|
||||
$containers = $containers->filter();
|
||||
return collect($containers);
|
||||
} else {
|
||||
return collect([]);
|
||||
}
|
||||
}
|
||||
public function hasDefinedResources()
|
||||
|
||||
Reference in New Issue
Block a user