Skip to content

Commit 691e5c4

Browse files
authored
Merge pull request #6097 from killianmuldoon/fix/non-breaking-spaces
🌱 Remove non-breaking spaces from codebase
2 parents 1b55213 + 439b199 commit 691e5c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/clusterctl/cmd/generate_cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ var generateClusterClusterCmd = &cobra.Command{
5959

6060
Example: Examples(`
6161
# Generates a yaml file for creating workload clusters using
62-
# the pre-installed infrastructure and bootstrap providers.
62+
# the pre-installed infrastructure and bootstrap providers.
6363
clusterctl generate cluster my-cluster
6464
6565
# Generates a yaml file for creating workload clusters using
66-
# a specific version of the AWS infrastructure provider.
66+
# a specific version of the AWS infrastructure provider.
6767
clusterctl generate cluster my-cluster --infrastructure=aws:v0.4.1
6868
6969
# Generates a yaml file for creating workload clusters in a custom namespace.

controlplane/kubeadm/internal/filters.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func MatchesTemplateClonedFrom(infraConfigs map[string]*unstructured.Unstructure
6969
return false
7070
}
7171

72-
// Check if the machine template metadata matches with the infrastructure object.
72+
// Check if the machine template metadata matches with the infrastructure object.
7373
if !matchMachineTemplateMetadata(kcp, infraObj) {
7474
return false
7575
}
@@ -103,7 +103,7 @@ func MatchesKubeadmBootstrapConfig(machineConfigs map[string]*bootstrapv1.Kubead
103103
return true
104104
}
105105

106-
// Check if the machine template metadata matches with the infrastructure object.
106+
// Check if the machine template metadata matches with the infrastructure object.
107107
if !matchMachineTemplateMetadata(kcp, machineConfig) {
108108
return false
109109
}

0 commit comments

Comments
 (0)