Sfoglia il codice sorgente

raft: remove unused field

Yicheng Qin 11 anni fa
parent
commit
da575c46fa
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  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