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
F15522364: D11530.id27800.diff
Sun, Apr 20, 7:57 PM
F15516101: D11530.id.diff
Fri, Apr 18, 4:08 PM
F15513341: D11530.diff
Thu, Apr 17, 6:15 PM
F15484543: D11530.diff
Wed, Apr 9, 6:53 PM
F15474491: D11530.id27800.diff
Sun, Apr 6, 9:22 AM
F15473196: D11530.id27743.diff
Sat, Apr 5, 7:59 PM
F15412321: D11530.id27743.diff
Mar 19 2025, 12:27 PM
F15412004: D11530.id27743.diff
Mar 19 2025, 10:47 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.