DengBiao 2 anni fa
parent
commit
fcadf95409
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      pkg/grpclib/resolver/k8s/k8s_resolver.go

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

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


Caricamento…
Annulla
Salva