mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-07 13:44:17 +08:00
fix metric cache map issue (#3191)
This commit is contained in:
parent
276998b1dd
commit
e194d80fe9
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
|
||||
var (
|
||||
metricsCacheMutex = &sync.RWMutex{}
|
||||
metricsCacheMap map[string]models.Metrics
|
||||
metricsCacheMap = make(map[string]models.Metrics)
|
||||
)
|
||||
|
||||
func getMetricsFromCache(key string) (metrics models.Metrics, ok bool) {
|
||||
|
|
Loading…
Add table
Reference in a new issue