Skip to content

Commit f44392d

Browse files
authored
Merge pull request #8701 from killianmuldoon/pr-exits-typo
🌱 Fix typo: exits -> exists
2 parents e440c4e + ab6fa7f commit f44392d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/clusterctl/client/cluster/mover.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ func (o *objectMover) restoreTargetObject(nodeToCreate *node, toProxy Proxy) err
10311031
if err := cTo.Get(ctx, objKey, existingTargetObj); err == nil {
10321032
log.V(5).Info("Object already exists, skipping moving from directory", nodeToCreate.identity.Kind, nodeToCreate.identity.Name, "Namespace", nodeToCreate.identity.Namespace)
10331033

1034-
// Update the nodes UID since it already exits. Any nodes owned by this existing node will be updated when the owner chain is rebuilt
1034+
// Update the nodes UID since it already exists. Any nodes owned by this existing node will be updated when the owner chain is rebuilt
10351035
nodeToCreate.newUID = existingTargetObj.GetUID()
10361036

10371037
// Return early since the object already exists

cmd/clusterctl/client/clusterclass.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func fetchMissingClusterClassTemplates(clusterClassClient repository.ClusterClas
114114
}
115115

116116
// Get the templates for all ClusterClasses and associated objects if the target
117-
// ClusterClass does not exits in the cluster.
117+
// ClusterClass does not exist in the cluster.
118118
templates := []repository.Template{}
119119
for _, class := range classes {
120120
if clusterInitialized {

internal/controllers/topology/cluster/patches/variables/merge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func MergeVariableMaps(variableMaps ...map[string]apiextensionsv1.JSON) (map[str
3232

3333
for _, variableMap := range variableMaps {
3434
for variableName, variableValue := range variableMap {
35-
// If the variable already exits and is the builtin variable, merge it.
35+
// If the variable already exists and is the builtin variable, merge it.
3636
if _, ok := res[variableName]; ok && variableName == BuiltinsName {
3737
mergedV, err := mergeBuiltinVariables(res[variableName], variableValue)
3838
if err != nil {

0 commit comments

Comments
 (0)