diff --git a/storage/remote/codec.go b/storage/remote/codec.go index 377dbd977..9d53b952f 100644 --- a/storage/remote/codec.go +++ b/storage/remote/codec.go @@ -783,6 +783,7 @@ func labelsToLabelsProto(lbls labels.Labels, buf []prompb.Label) []prompb.Label return result } +// TODO func labelsToUint32SliceStr(lbls labels.Labels, symbolTable *rwSymbolTable, buf []uint32) []uint32 { result := buf[:0] lbls.Range(func(l labels.Label) { @@ -794,6 +795,7 @@ func labelsToUint32SliceStr(lbls labels.Labels, symbolTable *rwSymbolTable, buf return result } +// TODO func Uint32StrRefToLabels(symbols []string, minLabels []uint32) labels.Labels { ls := labels.NewScratchBuilder(len(minLabels) / 2)