diff --git a/go.mod b/go.mod index ccd3e7655..17b334b6f 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( // Do not use the original github.com/valyala/fasthttp because of issues // like https://github.com/valyala/fasthttp/commit/996610f021ff45fdc98c2ce7884d5fa4e7f9199b github.com/VictoriaMetrics/fasthttp v1.2.0 - github.com/VictoriaMetrics/metrics v1.29.0 + github.com/VictoriaMetrics/metrics v1.29.1 github.com/VictoriaMetrics/metricsql v0.70.0 github.com/aws/aws-sdk-go-v2 v1.24.0 github.com/aws/aws-sdk-go-v2/config v1.26.1 diff --git a/vendor/github.com/VictoriaMetrics/metrics/gauge.go b/vendor/github.com/VictoriaMetrics/metrics/gauge.go index 9f676f40e..9bbbce21b 100644 --- a/vendor/github.com/VictoriaMetrics/metrics/gauge.go +++ b/vendor/github.com/VictoriaMetrics/metrics/gauge.go @@ -28,11 +28,11 @@ func NewGauge(name string, f func() float64) *Gauge { // Gauge is a float64 gauge. type Gauge struct { - // f is a callback, which is called for returning the gauge value. - f func() float64 - // valueBits contains uint64 representation of float64 passed to Gauge.Set. valueBits uint64 + + // f is a callback, which is called for returning the gauge value. + f func() float64 } // Get returns the current value for g. diff --git a/vendor/modules.txt b/vendor/modules.txt index 52ac9993b..39ac4c546 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -97,7 +97,7 @@ github.com/VictoriaMetrics/fastcache github.com/VictoriaMetrics/fasthttp github.com/VictoriaMetrics/fasthttp/fasthttputil github.com/VictoriaMetrics/fasthttp/stackless -# github.com/VictoriaMetrics/metrics v1.29.0 +# github.com/VictoriaMetrics/metrics v1.29.1 ## explicit; go 1.17 github.com/VictoriaMetrics/metrics # github.com/VictoriaMetrics/metricsql v0.70.0