mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
Fix compile error in metric helper function.
This commit is contained in:
parent
4e73c4c204
commit
bf78d427be
@ -109,7 +109,7 @@ func (v Values) InsideInterval(t time.Time) (s bool) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if t.Before(v[0]).Timestamp {
|
if t.Before(v[0].Timestamp) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user