mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
more logging around auto sync
Signed-off-by: Chao Chen <chaochn@amazon.com>
This commit is contained in:
parent
cb5f358b5f
commit
d4778e78c8
@ -192,6 +192,7 @@ func (c *Client) Sync(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
c.SetEndpoints(eps...)
|
c.SetEndpoints(eps...)
|
||||||
|
c.lg.Debug("set etcd endpoints by autoSync", zap.Strings("endpoints", eps))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user