mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
Run `make format
`.
This commit is contained in:
parent
caeb759ed7
commit
615e6d13d7
@ -175,7 +175,7 @@ func (g *getValuesAlongRangeOp) ExtractSamples(in []model.SamplePair) (out []mod
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
lastSampleTime := in[lastIdx - 1].Timestamp
|
lastSampleTime := in[lastIdx-1].Timestamp
|
||||||
g.from = lastSampleTime.Add(time.Duration(1))
|
g.from = lastSampleTime.Add(time.Duration(1))
|
||||||
return in[firstIdx:lastIdx]
|
return in[firstIdx:lastIdx]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user