initialize maps

This commit is contained in:
Pascal Fischer 2023-05-30 18:53:23 +02:00
parent f164fad2c2
commit 51f780dae9

View File

@ -182,6 +182,8 @@ func (w *Worker) generateProperties() properties {
metricsProperties := make(properties)
osPeers = make(map[string]int)
osUIClients = make(map[string]int)
rulesProtocol = make(map[string]int)
rulesDirection = make(map[string]int)
uptime = time.Since(w.startupTime).Seconds()
connections := w.connManager.GetAllConnectedPeers()
version = nbversion.NetbirdVersion()