This commit is contained in:
Lance Pioch 2024-05-22 03:15:29 -04:00
parent 5b9e4b1729
commit f4672c6cb1

View File

@ -92,8 +92,7 @@ class AllocationSelectionService
{
$query = Allocation::query()
->whereNull('server_id')
->whereIn('node_id', $nodes)
;
->whereIn('node_id', $nodes);
if (!empty($ports)) {
$query->where(function ($inner) use ($ports) {