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 <adam.israel@canonical.com>
diff --git a/common/python/rift/mano/config_agent/operdata.py b/common/python/rift/mano/config_agent/operdata.py
index e89a823..49f5b03 100644
--- a/common/python/rift/mano/config_agent/operdata.py
+++ b/common/python/rift/mano/config_agent/operdata.py
@@ -81,8 +81,8 @@
loop.close()
return RwConfigAgentYang.YangData_RwProject_Project_ConfigAgent_Account_ConnectionStatus(
- status="unknown",
- details="Connection status lookup not started"
+ status=status,
+ details=details,
)