Skip to content

Commit

Permalink
fix(mongodb): 元数据迁移修复保存appdba,appmonitor密码 #7931
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhenryyy authored and iSecloud committed Nov 13, 2024
1 parent e94bbe1 commit e05cf18
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 @@ -118,7 +118,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 not result["password"] == "":
if result["password"] == "":
info = MongoDBPassword().save_password_to_db(
instances=[
{
Expand Down

0 comments on commit e05cf18

Please sign in to comment.