فهرست منبع

raft: remove unused field

Yicheng Qin 11 سال پیش
والد
کامیت
da575c46fa
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