diff --git a/storage/remote/max_gauge.go b/storage/remote/max_gauge.go index a2b2ccb0e..a56c2047d 100644 --- a/storage/remote/max_gauge.go +++ b/storage/remote/max_gauge.go @@ -35,5 +35,7 @@ func (m *maxGauge) Set(value float64) { } func (m *maxGauge) Get() float64 { + m.mtx.Lock() + defer m.mtx.Unlock() return m.value }