forked from Alex/Pterodactyl-Panel
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
@ -31,6 +31,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
* `[rc.1]` — Fixes bug preventing modification of the default value for an Egg variable.
|
||||
* `[rc.1]` — Fixed a bug that would occur when attempting to reset the daemon secret for a node.
|
||||
* `[rc.1]` — Fix exception thrown when attempting to modify an existing database host.
|
||||
* `[rc.1]` — Fix an auto deployment bug causing a node to be ignored if it had no servers already attached to it.
|
||||
|
||||
### Changed
|
||||
* Changed logger to skip reporting stack-traces on PDO exceptions due to sensitive information being contained within.
|
||||
|
@ -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…
Reference in New Issue
Block a user