Skip to content

Commit

Permalink
fix(backend): 调整修改密码结果返回 TencentBlueKing#7693
Browse files Browse the repository at this point in the history
  • Loading branch information
iSecloud committed Oct 31, 2024
1 parent a0bbc51 commit dd03280
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dbm-ui/backend/configuration/handlers/password.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ def query_async_modify_result(cls, root_id: str):
0
]
# 查询输出数据
resp = BambooEngine(root_id).get_node_output_data(node_id).data["resp"]
return {"status": flow_tree.status, "data": resp["data"]}
result = BambooEngine(root_id).get_node_output_data(node_id).data["resp"]["data"]
result.update(status=flow_tree.status)
return result

@classmethod
def _get_password_role(cls, cluster_type, role):
Expand Down

0 comments on commit dd03280

Please sign in to comment.