Skip to content

Commit

Permalink
chore: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Sep 27, 2024
1 parent 6d73971 commit 533da13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func configureCluster(ctx context.Context, settings *options, opts []testcontain
func configureCMD(settings options) []string {
cmds := []string{"etcd"}

if len(settings.nodeNames) < 1 {
if len(settings.nodeNames) == 0 {
cmds = append(cmds, "--name=default")
} else {
clusterCmds := []string{
Expand Down

0 comments on commit 533da13

Please sign in to comment.