Homestyx hydra
Diffusion hydra 82f506f175b1

Check to make sure credential is not null in SSH command interface

Description

Check to make sure credential is not null in SSH command interface

Summary: This adds a check to make sure the credential exists when loading it in the Drydock SSH interface. This effectively turns a fatal error (calling a method on a non-object) into a catchable exception.

Test Plan: Had a badly configured resource, saw the exception appear instead of daemon fataling.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11530

Details

Provenance
James RhodesAuthored on Jan 28 2015, 6:40 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:6e723c5c5aef: Use %B when writing to Harbormaster build logs
Branches
Unknown
Tags
Unknown

Event Timeline