Skip to content

Commit a03da0c

Browse files
author
epriestley
committed
Add a missing artifactIndex key to HarbormasterBuildArtifact
Summary: See PHI176. We issue a query with only `artifactIndex` from `BuildTarget`, but don't have an applicable key. Test Plan: This isn't on the normal Harbormaster execution path so I'm not 100% sure I have a local repro, but will confirm with customer. Reviewers: amckinley Reviewed By: amckinley Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Differential Revision: https://secure.phabricator.com/D18732
1 parent f1204c8 commit a03da0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/applications/harbormaster/storage/build/HarbormasterBuildArtifact.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ protected function getConfiguration() {
4343
'key_target' => array(
4444
'columns' => array('buildTargetPHID', 'artifactType'),
4545
),
46+
'key_index' => array(
47+
'columns' => array('artifactIndex'),
48+
),
4649
),
4750
) + parent::getConfiguration();
4851
}

0 commit comments

Comments
 (0)