fix minor things

Signed-off-by: Callum Styan <callumstyan@gmail.com>
This commit is contained in:
Callum Styan 2023-11-06 17:04:01 -08:00 committed by Nicolás Pazos
parent 3e5facc0c0
commit eb63f30459
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"