mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4f55b50f93
When leaving the entire gossip cluster or when leaving a network specific gossip cluster, we may not have had a chance to cleanup service bindings by way of gossip updates due to premature closure of gossip channel. Make sure to cleanup all service bindings since we are not participating in the cluster any more. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
22 lines
549 B
Go
22 lines
549 B
Go
// +build !linux
|
|
|
|
package libnetwork
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
)
|
|
|
|
func (c *controller) cleanupServiceBindings(nid string) {
|
|
}
|
|
|
|
func (c *controller) addServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (c *controller) rmServiceBinding(name, sid, nid, eid string, vip net.IP, ingressPorts []*PortConfig, aliases []string, ip net.IP) error {
|
|
return fmt.Errorf("not supported")
|
|
}
|
|
|
|
func (sb *sandbox) populateLoadbalancers(ep *endpoint) {
|
|
}
|