From ba6dc16da9007a9c27f1df3c233cb21d475316fd Mon Sep 17 00:00:00 2001 From: iSecloud <869820505@qq.com> Date: Tue, 24 Sep 2024 16:33:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(backend):=20=E4=BF=AE=E5=A4=8Dsqlserver?= =?UTF-8?q?=E5=8D=95=E8=8A=82=E7=82=B9=E8=8E=B7=E5=8F=96=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=20#7114?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbm-ui/backend/db_meta/api/cluster/sqlserversingle/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbm-ui/backend/db_meta/api/cluster/sqlserversingle/handler.py b/dbm-ui/backend/db_meta/api/cluster/sqlserversingle/handler.py index 2eb6082193..5611aab2d1 100644 --- a/dbm-ui/backend/db_meta/api/cluster/sqlserversingle/handler.py +++ b/dbm-ui/backend/db_meta/api/cluster/sqlserversingle/handler.py @@ -104,5 +104,5 @@ def topo_graph(self): def get_remote_address(self) -> StorageInstance: """查询DRS访问远程数据库的地址""" return StorageInstance.objects.get( - cluster=self.cluster, instance_inner_role=InstanceInnerRole.MASTER.value + cluster=self.cluster, instance_inner_role=InstanceInnerRole.ORPHAN.value ).ip_port