Merge branch '1.0'
This commit is contained in:
commit
fcea6fcbf8
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