Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
iSecloud committed Feb 12, 2025
1 parent 6f16fa4 commit 4fb9203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dbm-ui/backend/ticket/builders/mysql/mysql_migrate_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ def post_callback(self):
else:
info["bk_new_master"], info["bk_new_slave"] = info.pop("new_master")[0], info.pop("new_slave")[0]
info["new_master_ip"], info["new_slave_ip"] = info["bk_new_master"]["ip"], info["bk_new_slave"]["ip"]
# 修改规格key值
info["resource_spec"]["remote"] = info["resource_spec"].pop("master")
info["resource_spec"].pop("slave")
next_flow.save(update_fields=["details"])


Expand Down

0 comments on commit 4fb9203

Please sign in to comment.