Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ohkinozomu committed Jul 31, 2024
1 parent 7c48e8c commit 37bdc98
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 37bdc98

Please sign in to comment.