Merge pull request #11015 from gyuho/typo

raft: fix typo
This commit is contained in:
Tobias Grieger 2019-08-10 17:26:29 +02:00 committed by GitHub
commit 56ad881b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
// 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.
found := false
cs := s.Metadata.ConfState