Просмотр исходного кода

Merge pull request #1078 from unihorn/124

raft: remove unused field
Xiang Li 11 лет назад
Родитель
Сommit
e9b790e27b
1 измененных файлов с 0 добавлено и 3 удалено
  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