From 2d3a290aa33b05e801dfa0107df63d392c9b198a Mon Sep 17 00:00:00 2001 From: fxiang21 Date: Tue, 28 May 2024 19:57:16 +0800 Subject: [PATCH] fix: cmdb-inner-secrets-init bug --- cmdb-api/api/commands/click_cmdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdb-api/api/commands/click_cmdb.py b/cmdb-api/api/commands/click_cmdb.py index 9b2264e..46e3651 100644 --- a/cmdb-api/api/commands/click_cmdb.py +++ b/cmdb-api/api/commands/click_cmdb.py @@ -326,7 +326,7 @@ def cmdb_inner_secrets_init(address): """ init inner secrets for password feature """ - res, ok = KeyManage(backend=InnerKVManger).init() + res, ok = KeyManage(backend=InnerKVManger()).init() if not ok: if res.get("status") == "failed": KeyManage.print_response(res)