improbable-eng / go-srvlb

DNS SRV Load Balancer for gRPC
Apache License 2.0
42 stars 11 forks source link

Remote initial lookup so full set of added targets is returned #7

Closed ains closed 7 years ago

ains commented 7 years ago

Refactor meant that after an initial lookup we weren't returning any Updates in the first call to next (no delta) so the grpc library wouldn't dial any addresses and timeout.

Remove initial lookup, simplifies code, also update tests to use same startNewWatcher function to ensure we catch this kinda junk