|
|
@@ -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) |
|
|
|