fix: add healing metric type for heal tracing (#15631)

changes the `heal.checkBucket` to `heal.Bucket` instead
since the latter is more meaningful.
This commit is contained in:
Harshavardhana
2022-08-31 12:28:03 -07:00
committed by GitHub
parent 8e4a45ec41
commit bcedc2b0d9
6 changed files with 56 additions and 7 deletions

View File

@@ -651,6 +651,7 @@ func (z *ObjectPartInfo) EncodeMsg(en *msgp.Writer) (err error) {
// omitempty: check for empty values
zb0001Len := uint32(7)
var zb0001Mask uint8 /* 7 bits */
_ = zb0001Mask
if z.Index == nil {
zb0001Len--
zb0001Mask |= 0x20
@@ -762,6 +763,7 @@ func (z *ObjectPartInfo) MarshalMsg(b []byte) (o []byte, err error) {
// omitempty: check for empty values
zb0001Len := uint32(7)
var zb0001Mask uint8 /* 7 bits */
_ = zb0001Mask
if z.Index == nil {
zb0001Len--
zb0001Mask |= 0x20