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"]]