From 7e1d036a306e497d095cb5931ff5115d44e6cf13 Mon Sep 17 00:00:00 2001 From: zfrendo <842557664@qq.com> Date: Fri, 6 Sep 2024 16:55:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dtendbcluster=E4=BB=8E?= =?UTF-8?q?=E5=BA=93=E9=87=8D=E5=BB=BA=E8=8E=B7=E5=8F=96=E5=85=83=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=94=99=E8=AF=AF=20#6730?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flow/engine/bamboo/scene/spider/remote_slave_recover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-ui/backend/flow/engine/bamboo/scene/spider/remote_slave_recover.py b/dbm-ui/backend/flow/engine/bamboo/scene/spider/remote_slave_recover.py index e1ebb72a8c..704b99645c 100644 --- a/dbm-ui/backend/flow/engine/bamboo/scene/spider/remote_slave_recover.py +++ b/dbm-ui/backend/flow/engine/bamboo/scene/spider/remote_slave_recover.py @@ -127,7 +127,7 @@ def tendb_remote_slave_recover(self): raise MasterInstanceNotExistException( cluster_type=cluster_class.cluster_type, cluster_id=cluster_class.id ) - master = StorageInstance.objects.get(slave_tuple[0].ejector_id) + master = StorageInstance.objects.get(id=slave_tuple[0].ejector_id) db_config = get_instance_config(cluster_class.bk_cloud_id, master.machine.ip, cluster_info["ports"])