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.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- Restricted Diffusion Commit
rPe7e585820b96: Prevent an error when the Drydock lease artifact does not exist
Tested in production.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- harbormaster-artifact-error
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 6370 Build 6392: [Placeholder Plan] Wait for 30 Seconds