fix custom marshaling

Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
This commit is contained in:
Nicolás Pazos 2023-11-29 13:17:36 -03:00
parent 5aab80a71c
commit 83325af699

View file

@ -71,7 +71,7 @@ func (m *MinimizedWriteRequestStr) OptimizedMarshalToSizedBuffer(dAtA []byte) (i
copy(dAtA[i:], m.Symbols[iNdEx]) copy(dAtA[i:], m.Symbols[iNdEx])
i = encodeVarintRemote(dAtA, i, uint64(len(m.Symbols[iNdEx]))) i = encodeVarintRemote(dAtA, i, uint64(len(m.Symbols[iNdEx])))
i-- i--
dAtA[i] = 0x22 dAtA[i] = 0x1a
} }
} }
if len(m.Timeseries) > 0 { if len(m.Timeseries) > 0 {