Skip to content

Commit

Permalink
Merge pull request #3193 from gravitl/release-v0.26.0
Browse files Browse the repository at this point in the history
fix metric cache map issue (#3191)
  • Loading branch information
abhishek9686 authored Nov 10, 2024
2 parents c245c78 + e194d80 commit 2b032e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pro/logic/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2b032e3

Please sign in to comment.