-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix incorrect usage in readme #227
Conversation
Signed-off-by: Lorain <[email protected]>
/cc @ahrtr PTAL, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, justlorain The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
cc @pav-kv |
Hi, I noticed that this PR has been approved. Could someone please help merge it when convenient? Thanks! |
README.md
Outdated
// Note that they need to be started separately as well. | ||
n := raft.StartNode(c, []raft.Peer{{ID: 0x02}, {ID: 0x03}}) | ||
// Set peer list to all nodes in the cluster. | ||
// Note that they need to be started separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Note that they need to be started separately. | |
// Note that other nodes in the cluster, apart from this node, need to be started separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thanks!
Signed-off-by: Lorain <[email protected]>
8b680f6
to
8bd6d19
Compare
Please squash the commits, thx |
Let me squash it. |
The
raft.StartNode
method requires the full list of nodes in the cluster to establish the voters configuration.