Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 45d1c33

Browse files
committed
Move in cluster config flags to correct options dir
Signed-off-by: JoshVanL <[email protected]>
1 parent 0a28192 commit 45d1c33

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

test/kind/kind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func New(rootPath, nodeImage string, masterNodes, workerNodes int) (*Kind, error
4040
conf.Nodes = nil
4141

4242
// This behviour will be changing soon in later versions of kind.
43-
if len(workingNodes) == 0 {
43+
if workerNodes == 0 {
4444
for i := 0; i < masterNodes; i++ {
4545
conf.Nodes = append(conf.Nodes,
4646
configv1alpha3.Node{

0 commit comments

Comments
 (0)