Browse Source

Merge pull request #1078 from unihorn/124

raft: remove unused field
Xiang Li 11 years ago
parent
commit
e9b790e27b
1 changed files with 0 additions and 3 deletions
  1. 0 3
      raft/raft.go

+ 0 - 3
raft/raft.go

@@ -91,9 +91,6 @@ type raft struct {
 
 
 	id int64
 	id int64
 
 
-	// the term we are participating in at any time
-	index int64
-
 	// the log
 	// the log
 	raftLog *raftLog
 	raftLog *raftLog