Skip to content

Commit

Permalink
Merge pull request #10775 from rifelpet/kubetest2-space
Browse files Browse the repository at this point in the history
Kubetest2 - Fix splitting of --create-args
  • Loading branch information
k8s-ci-robot authored Feb 9, 2021
2 parents 41d7d2d + e325d8b commit 29047ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/e2e/kubetest2-kops/deployer/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ func (d *deployer) createCluster(zones []string, adminAccess string) error {
}

if d.CreateArgs != "" {
args = append(args, shlex.Split(d.CreateArgs)...)
createArgs, err := shlex.Split(d.CreateArgs)
if err != nil {
return err
}
args = append(args, createArgs...)
}
args = appendIfUnset(args, "--admin-access", adminAccess)
args = appendIfUnset(args, "--master-count", "1")
Expand Down

0 comments on commit 29047ff

Please sign in to comment.