Page MenuHomePhabricator

D13928.diff
No OneTemporary

D13928.diff

diff --git a/src/applications/harbormaster/step/HarbormasterCommandBuildStepImplementation.php b/src/applications/harbormaster/step/HarbormasterCommandBuildStepImplementation.php
--- a/src/applications/harbormaster/step/HarbormasterCommandBuildStepImplementation.php
+++ b/src/applications/harbormaster/step/HarbormasterCommandBuildStepImplementation.php
@@ -39,13 +39,14 @@
public function execute(
HarbormasterBuild $build,
HarbormasterBuildTarget $build_target) {
+ $viewer = PhabricatorUser::getOmnipotentUser();
$settings = $this->getSettings();
$variables = $build_target->getVariables();
$artifact = $build_target->loadArtifact($settings['hostartifact']);
$impl = $artifact->getArtifactImplementation();
- $lease = $impl->loadArtifactLease();
+ $lease = $impl->loadArtifactLease($viewer);
$this->platform = $lease->getAttribute('platform');

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 1:49 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6720591
Default Alt Text
D13928.diff (904 B)

Event Timeline