From ab18f7940579181a8c0228e7bc8f14e30a786317 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sat, 5 Aug 2023 09:17:44 +0300 Subject: [PATCH] Use --master-count in testing for backwards compatibility --- tests/e2e/kubetest2-kops/deployer/up.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/kubetest2-kops/deployer/up.go b/tests/e2e/kubetest2-kops/deployer/up.go index abed1de8b5..c19534984e 100644 --- a/tests/e2e/kubetest2-kops/deployer/up.go +++ b/tests/e2e/kubetest2-kops/deployer/up.go @@ -134,7 +134,7 @@ func (d *deployer) createCluster(zones []string, adminAccess string, yes bool) e args = append(args, createArgs...) } args = appendIfUnset(args, "--admin-access", adminAccess) - args = appendIfUnset(args, "--control-plane-count", fmt.Sprintf("%d", d.ControlPlaneCount)) + args = appendIfUnset(args, "--master-count", fmt.Sprintf("%d", d.ControlPlaneCount)) args = appendIfUnset(args, "--master-volume-size", "48") args = appendIfUnset(args, "--node-count", "4") args = appendIfUnset(args, "--node-volume-size", "48")