mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
remove redundant type conversion (#8692)
Signed-off-by: Christina Jing (荆丽娜) <jinglina_lc@inspur.com>
This commit is contained in:
parent
51df756893
commit
431ea75a11
|
@ -132,7 +132,7 @@ func TestTailSamples(t *testing.T) {
|
||||||
sample := enc.Samples([]record.RefSample{
|
sample := enc.Samples([]record.RefSample{
|
||||||
{
|
{
|
||||||
Ref: uint64(inner),
|
Ref: uint64(inner),
|
||||||
T: int64(now.UnixNano()) + 1,
|
T: now.UnixNano() + 1,
|
||||||
V: float64(i),
|
V: float64(i),
|
||||||
},
|
},
|
||||||
}, nil)
|
}, nil)
|
||||||
|
|
Loading…
Reference in a new issue