1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Avoid having the same log statements in initNodes and resolveNodes

This commit is contained in:
Milos Gajdos 2020-01-10 12:27:49 +00:00
parent bf42c028fb
commit 1e009e52dd
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

View File

@ -375,7 +375,7 @@ func (n *network) initNodes(startup bool) {
// NOTE: this condition never fires
// as resolveNodes() never returns error
if err != nil && !startup {
log.Debugf("Network failed to resolve nodes: %v", err)
log.Debugf("Network failed to init nodes: %v", err)
return
}