From 840907754dcc25b6e1247b786acbc0fc027ff8c9 Mon Sep 17 00:00:00 2001 From: caoxianfei1 Date: Fri, 17 Nov 2023 17:25:47 +0800 Subject: [PATCH] [fix] invoke GetListentExternalIp instead of GetListenIp Signed-off-by: caoxianfei1 --- .gitignore | 1 + internal/task/task/checker/common.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6888ae906..6ba063f29 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ logs/* .build/ .vscode/ .CHANGELOG +vendor/ diff --git a/internal/task/task/checker/common.go b/internal/task/task/checker/common.go index c97c379b3..ed9a101d9 100644 --- a/internal/task/task/checker/common.go +++ b/internal/task/task/checker/common.go @@ -126,7 +126,7 @@ func getServiceListenAddresses(dc *topology.DeployConfig) []Address { if dc.GetEnableExternalServer() { address = append(address, Address{ Role: ROLE_CHUNKSERVER, - IP: dc.GetListenIp(), + IP: dc.GetListenExternalIp(), Port: dc.GetListenExternalPort(), }) }