Page MenuHomePhabricator

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

Authored by hach-que on Jan 28 2015, 1:09 AM.
Tags
None
Referenced Files
F13769519: D11530.diff
Sat, Sep 7, 11:18 PM
Unknown Object (File)
Sat, Aug 31, 7:31 AM
Unknown Object (File)
Mon, Aug 19, 9:48 AM
Unknown Object (File)
Thu, Aug 15, 12:45 PM
Unknown Object (File)
Aug 8 2024, 10:14 PM
Unknown Object (File)
Jul 31 2024, 4:11 AM
Unknown Object (File)
Jul 26 2024, 1:36 PM
Unknown Object (File)
Jul 22 2024, 8:06 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
drydock-ssh-check-credential
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4101
Build 4114: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Check to make sure credential is not null in SSH command interface.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 28 2015, 7:12 PM
This revision was automatically updated to reflect the committed changes.