mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
refactor: Update Server model getContainers method to use collect() for containers and containerReplicates
This commit is contained in:
1 parent
fa28e952de
commit
8fa1fcf96e
1 file changed
+2
-2
@@ -715,8 +715,8 @@ $schema://$host {
|
||||
}
|
||||
|
||||
return [
|
||||
'containers' => $containers ?? collect([]),
|
||||
'containerReplicates' => $containerReplicates ?? collect([]),
|
||||
'containers' => collect($containers) ?? collect([]),
|
||||
'containerReplicates' => collect($containerReplicates) ?? collect([]),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user