Skip to content

Commit

Permalink
Merge pull request #11015 from gyuho/typo
Browse files Browse the repository at this point in the history
raft: fix typo
  • Loading branch information
tbg authored Aug 10, 2019
2 parents 8e2225b + 6c87b21 commit 56ad881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raft/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56ad881

Please sign in to comment.