forked from mirror/client_golang
Fix lint warning
Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
b7a540a1b2
commit
553ed73917
|
@ -480,7 +480,7 @@ func makeSparseBuckets(buckets *sync.Map) *dto.SparseBuckets {
|
|||
count := atomic.LoadUint64(v.(*uint64))
|
||||
if n == 0 || i-nextI != 0 {
|
||||
sbs.Span = append(sbs.Span, &dto.SparseBuckets_Span{
|
||||
Offset: proto.Int(i - nextI),
|
||||
Offset: proto.Int32(int32(i - nextI)),
|
||||
Length: proto.Uint32(1),
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue