Skip to content

Commit

Permalink
feat: get scheduler list with advertise ip (#848)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Dec 1, 2021
1 parent 4542d21 commit 8d0ed54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/config/dynconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (mc *managerClient) Get() (interface{}, error) {
schedulers, err := mc.ListSchedulers(&manager.ListSchedulersRequest{
SourceType: manager.SourceType_CLIENT_SOURCE,
HostName: mc.hostOption.Hostname,
Ip: mc.hostOption.ListenIP,
Ip: mc.hostOption.AdvertiseIP,
HostInfo: map[string]string{
searcher.ConditionSecurityDomain: mc.hostOption.SecurityDomain,
searcher.ConditionIDC: mc.hostOption.IDC,
Expand Down

0 comments on commit 8d0ed54

Please sign in to comment.