mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix handleEPTable log
There was an extra parameter not in the formatters Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
This commit is contained in:
parent
0585b10fd3
commit
ba788519d6
1 changed files with 2 additions and 2 deletions
|
@ -883,7 +883,7 @@ func (c *controller) handleEpTableEvent(ev events.Event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if isAdd {
|
if isAdd {
|
||||||
logrus.Debugf("handleEpTableEvent ADD %s R:%v", isAdd, eid, epRec)
|
logrus.Debugf("handleEpTableEvent ADD %s R:%v", eid, epRec)
|
||||||
if svcID != "" {
|
if svcID != "" {
|
||||||
// This is a remote task part of a service
|
// This is a remote task part of a service
|
||||||
if err := c.addServiceBinding(svcName, svcID, nid, eid, containerName, vip, ingressPorts, serviceAliases, taskAliases, ip, "handleEpTableEvent"); err != nil {
|
if err := c.addServiceBinding(svcName, svcID, nid, eid, containerName, vip, ingressPorts, serviceAliases, taskAliases, ip, "handleEpTableEvent"); err != nil {
|
||||||
|
@ -897,7 +897,7 @@ func (c *controller) handleEpTableEvent(ev events.Event) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logrus.Debugf("handleEpTableEvent DEL %s R:%v", isAdd, eid, epRec)
|
logrus.Debugf("handleEpTableEvent DEL %s R:%v", eid, epRec)
|
||||||
if svcID != "" {
|
if svcID != "" {
|
||||||
// This is a remote task part of a service
|
// This is a remote task part of a service
|
||||||
if err := c.rmServiceBinding(svcName, svcID, nid, eid, containerName, vip, ingressPorts, serviceAliases, taskAliases, ip, "handleEpTableEvent"); err != nil {
|
if err := c.rmServiceBinding(svcName, svcID, nid, eid, containerName, vip, ingressPorts, serviceAliases, taskAliases, ip, "handleEpTableEvent"); err != nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue