Browse Source

raft: refine comment for raft.pendingConf

Yicheng Qin 11 years ago
parent
commit
b801f1affe
1 changed files with 1 additions and 2 deletions
  1. 1 2
      raft/raft.go

+ 1 - 2
raft/raft.go

@@ -105,8 +105,7 @@ type raft struct {
 	// the leader id
 	lead int64
 
-	// pending configuration
-	// New configuration is ignored if there exists configuration unapplied.
+	// New configuration is ignored if there exists unapplied configuration.
 	pendingConf bool
 
 	elapsed          int // number of ticks since the last msg