From 83325af69941417a4ce1005e742c26d0c78f9345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Pazos?= Date: Wed, 29 Nov 2023 13:17:36 -0300 Subject: [PATCH] fix custom marshaling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Pazos --- prompb/custom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompb/custom.go b/prompb/custom.go index 56334e5d57..c550a76017 100644 --- a/prompb/custom.go +++ b/prompb/custom.go @@ -71,7 +71,7 @@ func (m *MinimizedWriteRequestStr) OptimizedMarshalToSizedBuffer(dAtA []byte) (i copy(dAtA[i:], m.Symbols[iNdEx]) i = encodeVarintRemote(dAtA, i, uint64(len(m.Symbols[iNdEx]))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } } if len(m.Timeseries) > 0 {