Adding error log if peerAdd fails
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
d1c0ff02a7
commit
5c6423fb29
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,10 @@ func (d *driver) EventNotify(etype driverapi.EventType, nid, tableName, key stri
|
|||
return
|
||||
}
|
||||
|
||||
d.peerAdd(nid, eid, addr.IP, addr.Mask, mac, vtep, true)
|
||||
err = d.peerAdd(nid, eid, addr.IP, addr.Mask, mac, vtep, true)
|
||||
if err != nil {
|
||||
logrus.Errorf("peerAdd failed (%v) for ip %s with mac %s", err, addr.IP.String(), mac.String())
|
||||
}
|
||||
}
|
||||
|
||||
func (d *driver) DecodeTableEntry(tablename string, key string, value []byte) (string, map[string]string) {
|
||||
|
|
Loading…
Add table
Reference in a new issue