refactor: clean code
- remove dead code - replace Fprintf by Fprint.
This commit is contained in:
parent
a8cbe7ef5e
commit
f4579e5f12
2 changed files with 6 additions and 11 deletions
|
@ -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")
|
||||
// })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue