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