Skip to content

Commit 8409077

Browse files
caoxianfei1Wine93
authored andcommitted
[fix] invoke GetListentExternalIp instead of GetListenIp
Signed-off-by: caoxianfei1 <[email protected]>
1 parent 48abdf1 commit 8409077

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ logs/*
1010
.build/
1111
.vscode/
1212
.CHANGELOG
13+
vendor/

internal/task/task/checker/common.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func getServiceListenAddresses(dc *topology.DeployConfig) []Address {
126126
if dc.GetEnableExternalServer() {
127127
address = append(address, Address{
128128
Role: ROLE_CHUNKSERVER,
129-
IP: dc.GetListenIp(),
129+
IP: dc.GetListenExternalIp(),
130130
Port: dc.GetListenExternalPort(),
131131
})
132132
}

0 commit comments

Comments
 (0)