Skip to content
Snippets Groups Projects
Commit a886d480 authored by ale's avatar ale
Browse files

changed old function name

parent b2616d08
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ type configWatcher struct {
upch chan bool
}
func newConfigSyncer(client autoradio.EtcdClient, config *clusterConfig, upch chan bool) *configWatcher {
func newConfigWatcher(client autoradio.EtcdClient, config *clusterConfig, upch chan bool) *configWatcher {
return &configWatcher{
client: client,
config: config,
......@@ -286,7 +286,7 @@ func NewRadioNode(name string, ips []net.IP, netDev string, bwLimit float64, cli
string(minfodata),
uint64(*masterElectionTtl),
mech),
watcher: newConfigSyncer(client, config, upch),
watcher: newConfigWatcher(client, config, upch),
icecast: NewIcecastController(name),
reloadDelay: 1000 * time.Millisecond,
heartbeat: uint64(*nodeHeartbeat),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment