mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08: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
|
||||
}
|
||||
|
||||
if t.Before(v[0]).Timestamp {
|
||||
if t.Before(v[0].Timestamp) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue