File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -337,11 +337,11 @@ func (cm *certManagerClient) shouldUpgrade(objs []unstructured.Unstructured) (st
337337 c := version .Compare (objSemVersion , desiredSemVersion , version .WithBuildTags ())
338338 switch {
339339 case c < 0 || c == 2 :
340- // if version < current or same version and different non numeric build metadata, then upgrade
340+ // if version < current or same version and different non- numeric build metadata, then upgrade
341341 currentVersion = objVersion
342342 needUpgrade = true
343343 case c >= 0 :
344- // the installed version is greather or equal than the one required by clusterctl, so we are ok
344+ // the installed version is greater than or equal to one required by clusterctl, so we are ok
345345 currentVersion = objVersion
346346 }
347347
Original file line number Diff line number Diff line change @@ -413,7 +413,7 @@ func (c *clusterctlClient) templateOptionsToVariables(options GetClusterTemplate
413413 }
414414 }
415415 if * options .ControlPlaneMachineCount < 1 {
416- return errors .Errorf ("invalid ControlPlaneMachineCount. Please use a number greater or equal than 1" )
416+ return errors .Errorf ("invalid ControlPlaneMachineCount. Please use a number greater than or equal to 1" )
417417 }
418418 c .configClient .Variables ().Set ("CONTROL_PLANE_MACHINE_COUNT" , strconv .FormatInt (* options .ControlPlaneMachineCount , 10 ))
419419
@@ -431,7 +431,7 @@ func (c *clusterctlClient) templateOptionsToVariables(options GetClusterTemplate
431431 }
432432 }
433433 if * options .WorkerMachineCount < 0 {
434- return errors .Errorf ("invalid WorkerMachineCount. Please use a number greater or equal than 0" )
434+ return errors .Errorf ("invalid WorkerMachineCount. Please use a number greater than or equal to 0" )
435435 }
436436 c .configClient .Variables ().Set ("WORKER_MACHINE_COUNT" , strconv .FormatInt (* options .WorkerMachineCount , 10 ))
437437
You can’t perform that action at this time.
0 commit comments