Merge pull request #32167 from miaoyq/print-a-err-return

The returned err should be printed
This commit is contained in:
Vincent Demeester 2017-03-29 10:36:05 +02:00 committed by GitHub
commit 02faf807a2

View file

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