Merge pull request #1665 from aboch/ars

Add logs around service records modifications
This commit is contained in:
Santhosh Manohar 2017-02-24 11:03:04 -08:00 committed by GitHub
commit 1a8c8e9a61

View file

@ -1118,6 +1118,8 @@ func (n *network) addSvcRecords(name string, epIP net.IP, epIPv6 net.IP, ipMapUp
return
}
logrus.Debugf("(%s).addSvcRecords(%s, %s, %s, %t)", n.ID()[0:7], name, epIP, epIPv6, ipMapUpdate)
c := n.getController()
c.Lock()
defer c.Unlock()
@ -1151,6 +1153,8 @@ func (n *network) deleteSvcRecords(name string, epIP net.IP, epIPv6 net.IP, ipMa
return
}
logrus.Debugf("(%s).deleteSvcRecords(%s, %s, %s, %t)", n.ID()[0:7], name, epIP, epIPv6, ipMapUpdate)
c := n.getController()
c.Lock()
defer c.Unlock()