1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 12:42:43 +01:00
phorge-phorge/src/applications/harbormaster/storage/build
J Rhodes e7e585820b Prevent an error when the Drydock lease artifact does not exist
Summary: If a host artifact exists in a Harbormaster build, where the Drydock lease no longer exists, then an error will be raised because of the attempt to access an undefined index.  This changes the code to use `idx()` so that it correctly returns null instead.

Test Plan: Tested in production.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: joshuaspence, Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D13074
2015-06-01 00:39:57 +10:00
..
HarbormasterBuild.php phtize all the things 2015-05-22 21:16:39 +10:00
HarbormasterBuildArtifact.php Prevent an error when the Drydock lease artifact does not exist 2015-06-01 00:39:57 +10:00
HarbormasterBuildItem.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
HarbormasterBuildLog.php phtize all the things 2015-05-22 21:16:39 +10:00
HarbormasterBuildTarget.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00