Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 Fix typo: exits -> exists #8701

Merged
merged 1 commit into from
May 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/clusterctl/client/cluster/mover.go
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ func (o *objectMover) restoreTargetObject(nodeToCreate *node, toProxy Proxy) err
if err := cTo.Get(ctx, objKey, existingTargetObj); err == nil {
log.V(5).Info("Object already exists, skipping moving from directory", nodeToCreate.identity.Kind, nodeToCreate.identity.Name, "Namespace", nodeToCreate.identity.Namespace)

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

// Return early since the object already exists
Expand Down
2 changes: 1 addition & 1 deletion cmd/clusterctl/client/clusterclass.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func fetchMissingClusterClassTemplates(clusterClassClient repository.ClusterClas
}

// Get the templates for all ClusterClasses and associated objects if the target
// ClusterClass does not exits in the cluster.
// ClusterClass does not exist in the cluster.
templates := []repository.Template{}
for _, class := range classes {
if clusterInitialized {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func MergeVariableMaps(variableMaps ...map[string]apiextensionsv1.JSON) (map[str

for _, variableMap := range variableMaps {
for variableName, variableValue := range variableMap {
// If the variable already exits and is the builtin variable, merge it.
// If the variable already exists and is the builtin variable, merge it.
if _, ok := res[variableName]; ok && variableName == BuiltinsName {
mergedV, err := mergeBuiltinVariables(res[variableName], variableValue)
if err != nil {
Expand Down