The returned err should be printed
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn> Upstream-commit: 87d0a3ad890ea0d12f5e7b28f34ea835048696bd Component: engine
This commit is contained in:
@@ -121,6 +121,8 @@ func (d *daemonDiscoveryReloader) advertiseHeartbeat(address string) {
|
||||
if err := d.initHeartbeat(address); err == nil {
|
||||
ready = true
|
||||
close(d.readyCh)
|
||||
} else {
|
||||
logrus.WithError(err).Debug("First discovery heartbeat failed")
|
||||
}
|
||||
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user