From a886d480f6f61e5bfdd332870a05cbe3fdc3b21e Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 28 Dec 2014 11:56:39 +0000
Subject: [PATCH] changed old function name

---
 node/node.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/node/node.go b/node/node.go
index e2d11b43..f44d1a6b 100644
--- a/node/node.go
+++ b/node/node.go
@@ -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),
-- 
GitLab