Skip to content

Commit

Permalink
Fix kv example
Browse files Browse the repository at this point in the history
  • Loading branch information
kevburnsjr committed Oct 8, 2024
1 parent 85327cb commit 6e1f97f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _example/kv1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ func main() {
zongzi.SetLogLevelDebug()
ctx := context.Background()
agent, err := zongzi.NewAgent(*name, strings.Split(*peers, ","),
zongzi.WithRaftDir(dataDir+"/raft"),
zongzi.WithWALDir(dataDir+"/wal"),
zongzi.WithRaftDir(*dataDir+"/raft"),
zongzi.WithWALDir(*dataDir+"/wal"),
zongzi.WithGossipAddress(*gossipAddr),
zongzi.WithRaftAddress(*raftAddr),
zongzi.WithApiAddress(*zongziAddr),
Expand Down

0 comments on commit 6e1f97f

Please sign in to comment.