numassigner: fix lint
This commit is contained in:
parent
335f5df3ec
commit
b8a8648f4a
@ -323,6 +323,9 @@ func (m *Sealing) NumReserveCount(ctx context.Context, name string, count uint64
|
|||||||
Len: count + usedCount,
|
Len: count + usedCount,
|
||||||
},
|
},
|
||||||
}})
|
}})
|
||||||
|
if err != nil {
|
||||||
|
return bitfield.BitField{}, err
|
||||||
|
}
|
||||||
|
|
||||||
free, err := bitfield.SubtractBitField(mask, nm.InUse)
|
free, err := bitfield.SubtractBitField(mask, nm.InUse)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user