Skip to content

Commit be0dd4c

Browse files
authored
Merge pull request kubernetes-sigs#5977 from killianmuldoon/fix/spelling
🐛 Fix spelling errors
2 parents c6e3049 + 917ab31 commit be0dd4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/clusterctl/client/cluster/cert_manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

cmd/clusterctl/client/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)