From 8dad2958cab56d275f7f24025d9f397be7da4e77 Mon Sep 17 00:00:00 2001 From: Adam Israel Date: Fri, 6 Oct 2017 01:43:17 -0400 Subject: [PATCH] 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 --- common/python/rift/mano/config_agent/operdata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, ) -- 2.25.1