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;ds=sidebyside;h=8dad2958cab56d275f7f24025d9f397be7da4e77;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, )