mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vendor/metrics: fix unaligned 64-bit atomic operation panic on 32-bit arch
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
8ba483eca3
commit
34b69dcf58
3 changed files with 5 additions and 5 deletions
2
go.mod
2
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
|
||||
|
|
6
vendor/github.com/VictoriaMetrics/metrics/gauge.go
generated
vendored
6
vendor/github.com/VictoriaMetrics/metrics/gauge.go
generated
vendored
|
@ -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.
|
||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue