mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 00:13:30 +01:00
app/vmselect/prometheus: code cleanup after 3ba507000c
This commit is contained in:
parent
1fce79518a
commit
8627365b48
@ -801,8 +801,7 @@ func QueryHandler(startTime time.Time, at *auth.Token, w http.ResponseWriter, r
|
|||||||
}
|
}
|
||||||
if queryOffset > 0 {
|
if queryOffset > 0 {
|
||||||
for i := range result {
|
for i := range result {
|
||||||
rs := &result[i]
|
timestamps := result[i].Timestamps
|
||||||
timestamps := rs.Timestamps
|
|
||||||
for j := range timestamps {
|
for j := range timestamps {
|
||||||
timestamps[j] += queryOffset
|
timestamps[j] += queryOffset
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user