Browse Source

update

master
DengBiao 2 years ago
parent
commit
fcadf95409
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pkg/grpclib/resolver/k8s/k8s_resolver.go

+ 1
- 1
pkg/grpclib/resolver/k8s/k8s_resolver.go View File

@@ -67,7 +67,7 @@ func (b *k8sBuilder) Build(target resolver.Target, clientConn resolver.ClientCon
event := <-events.ResultChan() event := <-events.ResultChan()
endpoints, ok := event.Object.(*v1.Endpoints) endpoints, ok := event.Object.(*v1.Endpoints)
if !ok { if !ok {
log.Println("event not is endpoints")
//log.Println("event not is endpoints")
continue continue
} }
ips, err := getIpsFromEndpoint(endpoints) ips, err := getIpsFromEndpoint(endpoints)


Loading…
Cancel
Save