Преглед изворни кода

raft: refine comment for raft.pendingConf

Yicheng Qin пре 11 година
родитељ
комит
b801f1affe
1 измењених фајлова са 1 додато и 2 уклоњено
  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