mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vmselect/prometheus: code cleanup after 3ba507000c
This commit is contained in:
parent
3ba507000c
commit
27500d7d4c
1 changed files with 1 additions and 2 deletions
|
@ -718,8 +718,7 @@ func QueryHandler(startTime time.Time, w http.ResponseWriter, r *http.Request) e
|
|||
}
|
||||
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 a new issue