refactor: clean code

- remove dead code
- replace Fprintf by Fprint.
This commit is contained in:
Fernandez Ludovic 2017-04-14 10:45:03 +02:00
parent a8cbe7ef5e
commit f4579e5f12
2 changed files with 6 additions and 11 deletions

View file

@ -162,11 +162,6 @@ func (server *Server) Close() {
func (server *Server) startLeadership() {
if server.leadership != nil {
server.leadership.Participate(server.routinesPool)
// server.leadership.AddGoCtx(func(ctx context.Context) {
// log.Debugf("Started test routine")
// <-ctx.Done()
// log.Debugf("Stopped test routine")
// })
}
}