Skip to content

Commit

Permalink
Merge pull request wind-c#94 from ohkinozomu/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
wind-c authored Jul 25, 2024
2 parents 10278a9 + fccca64 commit ae18bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/raft/hashicorp/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func Setup(conf *config.Cluster, notifyCh chan<- *message.Message) (*Peer, error

peer := &Peer{config, rf, fm, store, transport}
if id, err := peer.waitForLeader(peer.electionTimeout() * 3); err != nil {
log.Warn("timeout waiting for raft leader", "leader", "unknow")
log.Warn("timeout waiting for raft leader", "leader", "unknown")
} else {
log.Info("found raft leader", "leader", id)
}
Expand Down

0 comments on commit ae18bfb

Please sign in to comment.