mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 21:24:05 -08:00
fix custom marshaling
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
This commit is contained in:
parent
5aab80a71c
commit
83325af699
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue