From 952e9de265a0aed00bc6fb576aa95f31c7707949 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 25 Jan 2016 17:32:35 +0000 Subject: [PATCH] Remove superfluous line and fix comment typo --- ipam/allocator.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ipam/allocator.go b/ipam/allocator.go index eeec049c..40e71254 100644 --- a/ipam/allocator.go +++ b/ipam/allocator.go @@ -714,7 +714,7 @@ func (alloc *Allocator) update(sender mesh.PeerName, msg []byte) error { func (alloc *Allocator) donateSpace(r address.Range, to mesh.PeerName) { // No matter what we do, we'll send a unicast gossip - // of our ring back to tha chap who asked for space. + // of our ring back to the chap who asked for space. // This serves to both tell him of any space we might // have given him, or tell him where he might find some // more. @@ -733,7 +733,6 @@ func (alloc *Allocator) donateSpace(r address.Range, to mesh.PeerName) { } alloc.debugln("Giving range", chunk, "to", to) alloc.ring.GrantRangeToHost(chunk.Start, chunk.End, to) - alloc.sendRingUpdate(to) } func (alloc *Allocator) assertInvariants() {