1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Add a couple of missing needProperties() Almanac calls

Summary: Fixes T10432. I missed these in making properties non-default.

Test Plan: Diffusion now works again in a cluster configuration.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10432

Differential Revision: https://secure.phabricator.com/D15337
This commit is contained in:
epriestley 2016-02-23 13:44:12 -08:00
parent 76d4e85bfc
commit ee6070a984
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@ final class DiffusionRepositoryCreateController
array(
'AlmanacClusterRepositoryServiceType',
))
->needProperties(true)
->execute();
if ($services) {
// Filter out services which do not permit new allocations.

View file

@ -2038,6 +2038,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
->setViewer(PhabricatorUser::getOmnipotentUser())
->withPHIDs(array($service_phid))
->needBindings(true)
->needProperties(true)
->executeOne();
if (!$service) {
throw new Exception(