From 37bdc98a463dadb8f22e69bd72fdac737b0f6a41 Mon Sep 17 00:00:00 2001 From: ohkinozomu Date: Wed, 31 Jul 2024 18:15:32 +0900 Subject: [PATCH] Fix typo --- cluster/raft/etcd/peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/raft/etcd/peer.go b/cluster/raft/etcd/peer.go index 57d16ca..15de44e 100644 --- a/cluster/raft/etcd/peer.go +++ b/cluster/raft/etcd/peer.go @@ -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,