Remove unused function

This commit is contained in:
Preetha Appan 2017-08-29 19:56:01 -05:00
parent d8fe01db4c
commit cac1c29ec5
1 changed files with 0 additions and 8 deletions

View File

@ -229,14 +229,6 @@ func (m *Manager) saveServerList(l serverList) {
m.listValue.Store(l) m.listValue.Store(l)
} }
func makeIdAddrMap(list serverList) map[string]string {
ret := make(map[string]string)
for _, server := range list.servers {
ret[server.ID] = server.Addr.String()
}
return ret
}
// New is the only way to safely create a new Manager struct. // New is the only way to safely create a new Manager struct.
func New(logger *log.Logger, shutdownCh chan struct{}, clusterInfo ManagerSerfCluster, connPoolPinger Pinger) (m *Manager) { func New(logger *log.Logger, shutdownCh chan struct{}, clusterInfo ManagerSerfCluster, connPoolPinger Pinger) (m *Manager) {
m = new(Manager) m = new(Manager)