numassigner: fix lint

This commit is contained in:
Łukasz Magiera 2022-08-24 11:38:29 -04:00
parent 335f5df3ec
commit b8a8648f4a

View File

@ -323,6 +323,9 @@ func (m *Sealing) NumReserveCount(ctx context.Context, name string, count uint64
Len: count + usedCount,
},
}})
if err != nil {
return bitfield.BitField{}, err
}
free, err := bitfield.SubtractBitField(mask, nm.InUse)
if err != nil {