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

changed old function name

parent b2616d08
Branches
Tags
No related merge requests found
...@@ -98,7 +98,7 @@ type configWatcher struct { ...@@ -98,7 +98,7 @@ type configWatcher struct {
upch chan bool 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{ return &configWatcher{
client: client, client: client,
config: config, config: config,
...@@ -286,7 +286,7 @@ func NewRadioNode(name string, ips []net.IP, netDev string, bwLimit float64, cli ...@@ -286,7 +286,7 @@ func NewRadioNode(name string, ips []net.IP, netDev string, bwLimit float64, cli
string(minfodata), string(minfodata),
uint64(*masterElectionTtl), uint64(*masterElectionTtl),
mech), mech),
watcher: newConfigSyncer(client, config, upch), watcher: newConfigWatcher(client, config, upch),
icecast: NewIcecastController(name), icecast: NewIcecastController(name),
reloadDelay: 1000 * time.Millisecond, reloadDelay: 1000 * time.Millisecond,
heartbeat: uint64(*nodeHeartbeat), heartbeat: uint64(*nodeHeartbeat),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment