mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Fixed a small messup when printing logs
This commit is contained in:
parent
71122836b8
commit
4f1dd3f965
@ -700,7 +700,7 @@ func (n *network) getRouteMetric(router string, gateway string, link string) int
|
||||
defer n.RUnlock()
|
||||
|
||||
if link == "local" && gateway == "" {
|
||||
log.Debugf("Network link: %s, gateway: blank", link, gateway)
|
||||
log.Debugf("Network link: %s, gateway: blank", link)
|
||||
return 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user