Skip to content

Commit

Permalink
docs: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Sep 27, 2024
1 parent 533da13 commit 923079c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/etcd/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func WithDataDir() Option {
}

// WithNodes is an option to set the nodes of the etcd cluster.
// If only one node is specified, the cluster will be a single-node cluster.
// It should be used to create a cluster with more than one node.
func WithNodes(node1 string, node2 string, nodes ...string) Option {
return func(o *options) {
o.nodeNames = append([]string{node1, node2}, nodes...)
Expand Down

0 comments on commit 923079c

Please sign in to comment.