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
F19012036: D11530.id.diff
Nov 22 2025, 11:49 AM
F18993207: D11530.id.diff
Nov 19 2025, 6:44 AM
F18762265: D11530.diff
Oct 6 2025, 6:11 PM
F18751937: D11530.id27743.diff
Oct 4 2025, 1:22 PM
F18745398: D11530.id.diff
Oct 3 2025, 6:32 AM
F18745360: D11530.id27800.diff
Oct 3 2025, 6:22 AM
F18710086: D11530.diff
Sep 29 2025, 1:25 AM
F18659655: D11530.diff
Sep 23 2025, 2:29 PM
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.