Fix an auto deployment bug causing a node to be ignored if it had no servers already attached to it
closes #919
This commit is contained in:
parent
c8d0286ec4
commit
7562e501af
2 changed files with 2 additions and 1 deletions
|
@ -180,6 +180,6 @@ class NodeRepository extends EloquentRepository implements NodeRepositoryInterfa
|
|||
$instance->whereIn('nodes.location_id', $locations);
|
||||
}
|
||||
|
||||
return $instance->cursor();
|
||||
return $instance->groupBy('nodes.id')->cursor();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue