From d19e1f22cbbb7f4911f95f6b537d3eac65ea0bfe Mon Sep 17 00:00:00 2001 From: Matt Bajor Date: Thu, 4 Aug 2016 15:58:39 -0600 Subject: [PATCH] Fix typo in error message Signed-off-by: Matt Bajor --- libnetwork/drivers/overlay/peerdb.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libnetwork/drivers/overlay/peerdb.go b/libnetwork/drivers/overlay/peerdb.go index 5c1afbf782..d6502c27cd 100644 --- a/libnetwork/drivers/overlay/peerdb.go +++ b/libnetwork/drivers/overlay/peerdb.go @@ -281,7 +281,7 @@ func (d *driver) peerAdd(nid, eid string, peerIP net.IP, peerIPMask net.IPMask, // Add neighbor entry for the peer IP if err := sbox.AddNeighbor(peerIP, peerMac, sbox.NeighborOptions().LinkName(s.vxlanName)); err != nil { - return fmt.Errorf("could not add neigbor entry into the sandbox: %v", err) + return fmt.Errorf("could not add neighbor entry into the sandbox: %v", err) } // Add fdb entry to the bridge for the peer mac @@ -321,7 +321,7 @@ func (d *driver) peerDelete(nid, eid string, peerIP net.IP, peerIPMask net.IPMas // Delete neighbor entry for the peer IP if err := sbox.DeleteNeighbor(peerIP, peerMac); err != nil { - return fmt.Errorf("could not delete neigbor entry into the sandbox: %v", err) + return fmt.Errorf("could not delete neighbor entry into the sandbox: %v", err) } if err := d.checkEncryption(nid, vtep, 0, false, false); err != nil {