Browse Source

raft: remove defunct println

Blake Mizerany 11 years ago
parent
commit
8353340697
1 changed files with 0 additions and 1 deletions
  1. 0 1
      raft.go

+ 0 - 1
raft.go

@@ -300,7 +300,6 @@ func (sm *stateMachine) step(m Message) {
 	case stateCandidate:
 	case stateCandidate:
 		switch m.Type {
 		switch m.Type {
 		case msgApp:
 		case msgApp:
-			println("lost to appendEnts")
 			sm.becomeFollower(sm.term, m.From)
 			sm.becomeFollower(sm.term, m.From)
 			handleAppendEntries()
 			handleAppendEntries()
 		case msgVoteResp:
 		case msgVoteResp: