Skip to content

Commit

Permalink
raft: Fixed missing package name in README.md (etcd-io#11566)
Browse files Browse the repository at this point in the history
  • Loading branch information
po3rin authored Jan 29, 2020
1 parent 3898452 commit 53f15ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions raft/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The primary object in raft is a Node. Either start a Node from scratch using raf
To start a three-node cluster
```go
storage := raft.NewMemoryStorage()
c := &Config{
c := &raft.Config{
ID: 0x01,
ElectionTick: 10,
HeartbeatTick: 1,
Expand Down Expand Up @@ -95,7 +95,7 @@ To restart a node from previous state:
storage.SetHardState(state)
storage.Append(entries)

c := &Config{
c := &raft.Config{
ID: 0x01,
ElectionTick: 10,
HeartbeatTick: 1,
Expand Down

0 comments on commit 53f15ca

Please sign in to comment.