func handleSvcProviderUpdEvents(netPlugin *plugin.NetPlugin, opts cliOpts, recvErr chan error) { rsps := make(chan core.WatchState) go processStateEvent(netPlugin, opts, rsps) cfg := mastercfg.SvcProvider{} cfg.StateDriver = netPlugin.StateDriver recvErr <- cfg.WatchAll(rsps) return }
func handleSvcProviderUpdEvents(netPlugin *plugin.NetPlugin, opts core.InstanceInfo, recvErr chan error) { rsps := make(chan core.WatchState) go processStateEvent(netPlugin, opts, rsps) cfg := mastercfg.SvcProvider{} cfg.StateDriver = netPlugin.StateDriver recvErr <- cfg.WatchAll(rsps) log.Errorf("Error from handleSvcProviderUpdEvents") }