Przeglądaj źródła

raft: remove unused field

Yicheng Qin 11 lat temu
rodzic
commit
da575c46fa
1 zmienionych plików z 0 dodań i 3 usunięć
  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