mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-08 18:13:57 +01:00
log network as String to match the other log event in interface.go that emits network (#811)
Co-authored-by: Tricia Bogen <tbogen@slack-corp.com>
This commit is contained in:
parent
5278b6f926
commit
0fc4d8192f
5
main.go
5
main.go
@ -202,7 +202,10 @@ func Main(c *config.C, configTest bool, buildVersion string, logger *logrus.Logg
|
|||||||
hostMap := NewHostMap(l, "main", tunCidr, preferredRanges)
|
hostMap := NewHostMap(l, "main", tunCidr, preferredRanges)
|
||||||
hostMap.metricsEnabled = c.GetBool("stats.message_metrics", false)
|
hostMap.metricsEnabled = c.GetBool("stats.message_metrics", false)
|
||||||
|
|
||||||
l.WithField("network", hostMap.vpnCIDR).WithField("preferredRanges", hostMap.preferredRanges).Info("Main HostMap created")
|
l.
|
||||||
|
WithField("network", hostMap.vpnCIDR.String()).
|
||||||
|
WithField("preferredRanges", hostMap.preferredRanges).
|
||||||
|
Info("Main HostMap created")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
config.SetDefault("promoter.interval", 10)
|
config.SetDefault("promoter.interval", 10)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user