fix typo in comment
This commit is contained in:
1 parent
af40ebcab4
commit
8b35f5e8fe
1 file changed
+3
-3
+3
-3
@@ -348,9 +348,9 @@ func (r *Ring) String() string {
|
|||||||
return buffer.String()
|
return buffer.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
// ReportFree is used by the allocator to tell the ring
|
// ReportFree is used by the allocator to tell the ring how many free
|
||||||
// how many free ips are in a given range, so that ChoosePeerToAskForSpace
|
// ips are in a given range, so that ChoosePeersToAskForSpace can make
|
||||||
// can make more intelligent decisions.
|
// more intelligent decisions.
|
||||||
func (r *Ring) ReportFree(freespace map[address.Address]address.Offset) {
|
func (r *Ring) ReportFree(freespace map[address.Address]address.Offset) {
|
||||||
r.assertInvariants()
|
r.assertInvariants()
|
||||||
defer r.assertInvariants()
|
defer r.assertInvariants()
|
||||||
|
|||||||
Reference in new issue
Block a user