Browse Source

Merge pull request #1078 from unihorn/124

raft: remove unused field
Xiang Li 11 năm trước cách đây
mục cha
commit
e9b790e27b
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      raft/raft.go

+ 0 - 3
raft/raft.go

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