Merge pull request #32167 from miaoyq/print-a-err-return
The returned err should be printed
This commit is contained in:
commit
02faf807a2
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue