Skip to content

Commit

Permalink
raft: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Aug 10, 2019
1 parent 4a4629f commit 6c87b21
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 6c87b21

Please sign in to comment.