mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10: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:
parent
76d4e85bfc
commit
ee6070a984
2 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ final class DiffusionRepositoryCreateController
|
||||||
array(
|
array(
|
||||||
'AlmanacClusterRepositoryServiceType',
|
'AlmanacClusterRepositoryServiceType',
|
||||||
))
|
))
|
||||||
|
->needProperties(true)
|
||||||
->execute();
|
->execute();
|
||||||
if ($services) {
|
if ($services) {
|
||||||
// Filter out services which do not permit new allocations.
|
// Filter out services which do not permit new allocations.
|
||||||
|
|
|
@ -2038,6 +2038,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
|
||||||
->setViewer(PhabricatorUser::getOmnipotentUser())
|
->setViewer(PhabricatorUser::getOmnipotentUser())
|
||||||
->withPHIDs(array($service_phid))
|
->withPHIDs(array($service_phid))
|
||||||
->needBindings(true)
|
->needBindings(true)
|
||||||
|
->needProperties(true)
|
||||||
->executeOne();
|
->executeOne();
|
||||||
if (!$service) {
|
if (!$service) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
|
|
Loading…
Reference in a new issue