From 2700a73aca4d2146e7db408972ff84c4e47a0e1c Mon Sep 17 00:00:00 2001 From: yyhenryyy Date: Mon, 25 Nov 2024 14:49:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(mongodb):=20=E8=BF=81=E7=A7=BB=E5=85=83?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BF=9D=E5=AD=98app=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8=E5=AF=86=E7=A0=81=E8=A7=84=E5=88=99?= =?UTF-8?q?=20#8146?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbm-ui/backend/flow/utils/mongodb/migrate_meta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-ui/backend/flow/utils/mongodb/migrate_meta.py b/dbm-ui/backend/flow/utils/mongodb/migrate_meta.py index cfb390312c..38ea052a0a 100644 --- a/dbm-ui/backend/flow/utils/mongodb/migrate_meta.py +++ b/dbm-ui/backend/flow/utils/mongodb/migrate_meta.py @@ -119,7 +119,7 @@ def save_app_password(self): if result["password"] is None: logger.error("user:{} get password fail from db, error:{}".format(user, result["info"])) if result["password"] == "": - info = MongoDBPassword().save_password_to_db( + info = MongoDBPassword().save_password_to_db2( instances=[ { "ip": str(self.info["bk_biz_id"]),