Implement trying to **TO** address

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-03-05 11:02:54 +01:00
parent 2d67767764
commit 50184d718b
3 changed files with 32 additions and 11 deletions

View File

@@ -96,7 +96,7 @@ func (c *Client) Run() error {
if first {
// send first request, to create stream, then wait for ADS to send us updates.
if err := c.clusterDiscovery(stream, c.Version(cdsURL), c.Nonce(cdsURL), []string{}); err != nil {
log.Debug(err)
return err
}
log.Infof("gRPC stream established to %q", c.to) // might fail??
c.setSynced()