mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-14 16:12:15 +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 {
|
||||
for i := range result {
|
||||
rs := &result[i]
|
||||
timestamps := rs.Timestamps
|
||||
timestamps := result[i].Timestamps
|
||||
for j := range timestamps {
|
||||
timestamps[j] += queryOffset
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user