From 4cfd2eaf6319fb56f99efea9e898e3916ca4346b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pazos?= Date: Wed, 29 Nov 2023 13:08:17 -0300 Subject: [PATCH] add some TODOs for later MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Pazos --- storage/remote/codec.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/remote/codec.go b/storage/remote/codec.go index 377dbd9776..9d53b952f4 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)