From cfa93ee0b219eb01b8a62f23521887c20aecc7ea Mon Sep 17 00:00:00 2001 From: yuanruji Date: Tue, 24 Sep 2024 15:10:08 +0800 Subject: [PATCH] 123 --- .../bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py b/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py index 04b831e62a..3137552111 100644 --- a/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py +++ b/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py @@ -109,7 +109,7 @@ def upgrade(self): subflows = [] created_by = self.ticket_data["ticket_type"] for info in self.ticket_data["infos"]: - cluster = Cluster.objects.get(id=info["cluster_id"]) + cluster = Cluster.objects.get(id=info["cluster_ids"][0]) ports = get_ports(info["cluster_ids"]) relation_cluster_ids = [info["cluster_ids"]]