소스 검색

raft: remove defunct println

Blake Mizerany 11 년 전
부모
커밋
8353340697
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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: