Don't try and init the ring if the IP address is not in our range.

This commit is contained in:
Tom Wilkie committed 2015-07-28 14:12:42 +00:00
1 parent 10dbd9ad4c
commit da7ac78694
3 files changed
+4 -1

No files matched your search

-1
View File
@@ -95,7 +95,6 @@ func (alloc *Allocator) doOperation(op operation, ops *[]operation) {
op.Cancel()
return
}
alloc.establishRing()
if !op.Try(alloc) {
*ops = append(*ops, op)
}