Skip to content

Commit

Permalink
Merge pull request wind-c#105 from ohkinozomu/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
wind-c authored Jul 31, 2024
2 parents 7c48e8c + 37bdc98 commit 928da23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/raft/etcd/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func Setup(conf *config.Cluster, notifyCh chan<- *message.Message) (*Peer, error
id: uint64(id),
peers: genPeers(conf),
walDir: fmt.Sprintf("%v-%d", conf.RaftDir, id),
snapDir: fmt.Sprintf("%v-snaoshot%d", conf.RaftDir, id),
snapDir: fmt.Sprintf("%v-snapshot%d", conf.RaftDir, id),
confState: raftpb.ConfState{},
snapshotterReady: make(chan *snap.Snapshotter, 1),
snapCount: defaultSnapshotCount,
Expand Down

0 comments on commit 928da23

Please sign in to comment.