Skip to content

Commit 44987ee

Browse files
caoxianfei1Wine93
authored andcommitted
Fix(precheck): fix get wrong external ip.
Signed-off-by: caoxianfei1 <[email protected]>
1 parent bc66ce1 commit 44987ee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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)