fix minor things

Signed-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
This commit is contained in:
Callum Styan 2023-11-06 17:04:01 -08:00 committed by Nicolás Pazos
parent 622a723626
commit 2dacd72102
2 changed files with 2 additions and 1 deletions

View file

@ -981,7 +981,7 @@ func DecodeMinimizedWriteRequest(r io.Reader) (*prompb.MinimizedWriteRequest, er
func ReducedWriteRequestToWriteRequest(redReq *prompb.WriteRequestWithRefs) (*prompb.WriteRequest, error) {
req := &prompb.WriteRequest{
Timeseries: make([]prompb.TimeSeries, len(redReq.Timeseries)),
Metadata: redReq.Metadata,
//Metadata: redReq.Metadata,
}
for i, rts := range redReq.Timeseries {

View file

@ -17,6 +17,7 @@ import (
"context"
"errors"
"math"
"strconv"
"strings"
"sync"
"time"