Skip to content

Commit

Permalink
[fix] invoke GetListentExternalIp instead of GetListenIp
Browse files Browse the repository at this point in the history
Signed-off-by: caoxianfei1 <[email protected]>
  • Loading branch information
caoxianfei1 authored and Wine93 committed Nov 17, 2023
1 parent 48abdf1 commit 8409077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ logs/*
.build/
.vscode/
.CHANGELOG
vendor/
2 changes: 1 addition & 1 deletion internal/task/task/checker/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
})
}
Expand Down

0 comments on commit 8409077

Please sign in to comment.