Ver Fonte

raft: fix typo

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
Gyuho Lee há 6 anos atrás
pai
commit
6c87b21821
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      raft/raft.go

+ 1 - 1
raft/raft.go

@@ -1396,7 +1396,7 @@ func (r *raft) restore(s pb.Snapshot) bool {
 	}
 	}
 
 
 	// More defense-in-depth: throw away snapshot if recipient is not in the
 	// More defense-in-depth: throw away snapshot if recipient is not in the
-	// config. This shouuldn't ever happen (at the time of writing) but lots of
+	// config. This shouldn't ever happen (at the time of writing) but lots of
 	// code here and there assumes that r.id is in the progress tracker.
 	// code here and there assumes that r.id is in the progress tracker.
 	found := false
 	found := false
 	cs := s.Metadata.ConfState
 	cs := s.Metadata.ConfState