diff --git a/app/vmselect/prometheus/prometheus.go b/app/vmselect/prometheus/prometheus.go index 77530ae1f2..c0195231c1 100644 --- a/app/vmselect/prometheus/prometheus.go +++ b/app/vmselect/prometheus/prometheus.go @@ -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 }