增强Stream消息处理日志:添加接收/处理/panic详细日志
This commit is contained in:
@@ -60,7 +60,7 @@ func getLocalIP() (string, error) {
|
||||
}
|
||||
func getInstanceAddrByIp(ctx context.Context, ip string, services []gsvc.Service) (addr string) {
|
||||
for _, s := range services {
|
||||
if s.GetEndpoints()[0].Host() == addr {
|
||||
if s.GetEndpoints()[0].Host() == ip {
|
||||
addr = s.GetEndpoints()[0].String()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user