Skip to content
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

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

justlorain
Copy link
Contributor

The raft.StartNode method requires the full list of nodes in the cluster to establish the voters configuration.

Signed-off-by: Lorain <[email protected]>
@justlorain
Copy link
Contributor Author

/cc @ahrtr PTAL, thanks!

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

Thanks

@k8s-ci-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ahrtr
Copy link
Member

ahrtr commented Oct 24, 2024

cc @pav-kv

@justlorain
Copy link
Contributor Author

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.
Copy link
Member

@ahrtr ahrtr Dec 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Note that they need to be started separately.
// Note that other nodes in the cluster, apart from this node, need to be started separately.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thanks!

@justlorain justlorain force-pushed the docs/fix_incorrect_usage branch from 8b680f6 to 8bd6d19 Compare December 12, 2024 14:13
@ahrtr
Copy link
Member

ahrtr commented Dec 12, 2024

Please squash the commits, thx

@ahrtr
Copy link
Member

ahrtr commented Dec 12, 2024

Please squash the commits, thx

Let me squash it.

@ahrtr ahrtr merged commit 3eb557d into etcd-io:main Dec 12, 2024
9 checks passed
@justlorain justlorain deleted the docs/fix_incorrect_usage branch December 12, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants