From: Adam Israel Date: Fri, 6 Oct 2017 05:43:17 +0000 (-0400) Subject: Fix the status returned by validate_account_creds X-Git-Tag: v3.0.0rc14~19 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F5536%2F1;p=osm%2FSO.git Fix the status returned by validate_account_creds validate_account_creds was always returning "unknown" instead of the actual status. Signed-off-by: Adam Israel --- diff --git a/common/python/rift/mano/config_agent/operdata.py b/common/python/rift/mano/config_agent/operdata.py index e89a8233..49f5b03b 100644 --- a/common/python/rift/mano/config_agent/operdata.py +++ b/common/python/rift/mano/config_agent/operdata.py @@ -81,8 +81,8 @@ class JujuClient(object): loop.close() return RwConfigAgentYang.YangData_RwProject_Project_ConfigAgent_Account_ConnectionStatus( - status="unknown", - details="Connection status lookup not started" + status=status, + details=details, )