diff --git a/lib/prompb/remote.pb.go b/lib/prompb/remote.pb.go index a141f3e912..2491c147b2 100644 --- a/lib/prompb/remote.pb.go +++ b/lib/prompb/remote.pb.go @@ -31,7 +31,7 @@ func (m *WriteRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -118,7 +118,7 @@ func skipRemote(dAtA []byte) (n int, err error) { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -176,7 +176,7 @@ func skipRemote(dAtA []byte) (n int, err error) { } b := dAtA[iNdEx] iNdEx++ - innerWire |= (uint64(b) & 0x7F) << shift + innerWire |= uint64(b&0x7F) << shift if b < 0x80 { break } diff --git a/lib/prompb/types.pb.go b/lib/prompb/types.pb.go index 0bc4d85029..c13292663f 100644 --- a/lib/prompb/types.pb.go +++ b/lib/prompb/types.pb.go @@ -43,7 +43,7 @@ func (m *Sample) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -82,7 +82,7 @@ func (m *Sample) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Timestamp |= (int64(b) & 0x7F) << shift + m.Timestamp |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -128,7 +128,7 @@ func (m *TimeSeries) Unmarshal(dAtA []byte, dstLabels []Label, dstSamples []Samp } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -255,7 +255,7 @@ func (m *Label) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -283,7 +283,7 @@ func (m *Label) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -312,7 +312,7 @@ func (m *Label) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -363,7 +363,7 @@ func skipTypes(dAtA []byte) (n int, err error) { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -421,7 +421,7 @@ func skipTypes(dAtA []byte) (n int, err error) { } b := dAtA[iNdEx] iNdEx++ - innerWire |= (uint64(b) & 0x7F) << shift + innerWire |= uint64(b&0x7F) << shift if b < 0x80 { break }