mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add logs around service records modifications
Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
f6b3b3675c
commit
eb8c603046
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue