Skip to content

Commit

Permalink
fix(mongodb): 迁移元数据保存app密码不使用密码规则 TencentBlueKing#8146
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhenryyy authored and iSecloud committed Nov 25, 2024
1 parent 944f37f commit 2700a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/backend/flow/utils/mongodb/migrate_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
Expand Down

0 comments on commit 2700a73

Please sign in to comment.