1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-21 22:32:41 +01:00

Correct "getActiveBindings()" method name

Summary: This method was incorrectly renamed by D21628. See <https://discourse.phabricator-community.org/t/unable-to-lease-host/4696>.

Test Plan: Looked at it, will deploy etc.

Subscribers: yelirekim, PHID-OPKG-gm6ozazyms6q6i22gyam

Differential Revision: https://secure.phabricator.com/D21644
This commit is contained in:
epriestley 2021-03-24 10:11:15 -07:00
parent db9191f9a8
commit 61272e7ac3

View file

@ -242,7 +242,7 @@ final class DrydockAlmanacServiceHostBlueprintImplementation
return $this->services;
}
private function getActive(array $services) {
private function getActiveBindings(array $services) {
assert_instances_of($services, 'AlmanacService');
$bindings = array_mergev(mpull($services, 'getActiveBindings'));
return mpull($bindings, null, 'getPHID');