Homec4science

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

Authored by James Rhodes <jrhodes@redpointsoftware.com.au> on Jan 29 2015, 00:40.

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

Committed
James Rhodes <jrhodes@redpointsoftware.com.au>Jan 29 2015, 00:40
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6e723c5c5aef: Use %B when writing to Harbormaster build logs
Branches
Unknown
Tags
Unknown

Event Timeline

James Rhodes <jrhodes@redpointsoftware.com.au> committed rPH82f506f175b1: Check to make sure credential is not null in SSH command interface (authored by James Rhodes <jrhodes@redpointsoftware.com.au>).Jan 29 2015, 00:40