Skip to content

Commit 56fa9b6

Browse files
authored
fix: uses consistent spelling (#1115)
**What problem does this PR solve?**: Uses consistent spelling of the word "flavor" **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent 733f3a6 commit 56fa9b6

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

test/e2e/quick_start_test.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ var _ = Describe("Quick start", func() {
5454
default:
5555
Fail("unknown addon strategy: " + addonStrategy)
5656
}
57-
flavour := fmt.Sprintf(
57+
flavor := fmt.Sprintf(
5858
"topology-%s-%s",
5959
strings.ToLower(cniProvider),
6060
strategy,
6161
)
6262
Context(
63-
flavour,
63+
flavor,
6464
func() {
6565
var (
6666
testE2EConfig *clusterctl.E2EConfig
@@ -159,7 +159,7 @@ var _ = Describe("Quick start", func() {
159159
BootstrapClusterProxy: bootstrapClusterProxy,
160160
ArtifactFolder: artifactFolder,
161161
SkipCleanup: skipCleanup,
162-
Flavor: ptr.To(flavour),
162+
Flavor: ptr.To(flavor),
163163
InfrastructureProvider: ptr.To(lowercaseProvider),
164164
PostMachinesProvisioned: func(proxy capiframework.ClusterProxy, namespace, clusterName string) {
165165
capiframework.AssertOwnerReferences(
@@ -232,7 +232,7 @@ var _ = Describe("Quick start", func() {
232232
),
233233
Count: nodeCount,
234234
WaitForNodesReady: testE2EConfig.GetIntervals(
235-
flavour,
235+
flavor,
236236
"wait-nodes-ready",
237237
),
238238
},
@@ -258,23 +258,23 @@ var _ = Describe("Quick start", func() {
258258
WorkloadCluster: workloadCluster,
259259
InfrastructureProvider: lowercaseProvider,
260260
DeploymentIntervals: testE2EConfig.GetIntervals(
261-
flavour,
261+
flavor,
262262
"wait-deployment",
263263
),
264264
DaemonSetIntervals: testE2EConfig.GetIntervals(
265-
flavour,
265+
flavor,
266266
"wait-daemonset",
267267
),
268268
HelmReleaseIntervals: testE2EConfig.GetIntervals(
269-
flavour,
269+
flavor,
270270
"wait-helmrelease",
271271
),
272272
ClusterResourceSetIntervals: testE2EConfig.GetIntervals(
273-
flavour,
273+
flavor,
274274
"wait-clusterresourceset",
275275
),
276276
ResourceIntervals: testE2EConfig.GetIntervals(
277-
flavour,
277+
flavor,
278278
"wait-resource",
279279
),
280280
},
@@ -286,7 +286,7 @@ var _ = Describe("Quick start", func() {
286286
WorkloadCluster: workloadCluster,
287287
ClusterProxy: proxy,
288288
DeploymentIntervals: testE2EConfig.GetIntervals(
289-
flavour,
289+
flavor,
290290
"wait-deployment",
291291
),
292292
},
@@ -298,7 +298,7 @@ var _ = Describe("Quick start", func() {
298298
WorkloadCluster: workloadCluster,
299299
ClusterProxy: proxy,
300300
DeploymentIntervals: testE2EConfig.GetIntervals(
301-
flavour,
301+
flavor,
302302
"wait-deployment",
303303
),
304304
},

test/e2e/self_hosted_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ var _ = Describe("Self-hosted", Serial, func() {
4747
default:
4848
Fail("unknown addon strategy: " + addonStrategy)
4949
}
50-
flavour := fmt.Sprintf(
50+
flavor := fmt.Sprintf(
5151
"topology-%s-%s",
5252
strings.ToLower(cniProvider),
5353
strategy,
5454
)
5555
Context(
56-
flavour,
56+
flavor,
5757
func() {
5858
framework.SelfHostedSpec(
5959
ctx,
@@ -83,7 +83,7 @@ var _ = Describe("Self-hosted", Serial, func() {
8383
BootstrapClusterProxy: bootstrapClusterProxy,
8484
ArtifactFolder: artifactFolder,
8585
SkipCleanup: skipCleanup,
86-
Flavor: flavour,
86+
Flavor: flavor,
8787
InfrastructureProvider: ptr.To(lowercaseProvider),
8888
ClusterName: ptr.To(clusterNamePrefix +
8989
util.RandomString(
@@ -120,23 +120,23 @@ var _ = Describe("Self-hosted", Serial, func() {
120120
ClusterProxy: proxy,
121121
WorkloadCluster: workloadCluster,
122122
DeploymentIntervals: e2eConfig.GetIntervals(
123-
flavour,
123+
flavor,
124124
"wait-deployment",
125125
),
126126
DaemonSetIntervals: e2eConfig.GetIntervals(
127-
flavour,
127+
flavor,
128128
"wait-daemonset",
129129
),
130130
HelmReleaseIntervals: e2eConfig.GetIntervals(
131-
flavour,
131+
flavor,
132132
"wait-helmrelease",
133133
),
134134
ClusterResourceSetIntervals: e2eConfig.GetIntervals(
135-
flavour,
135+
flavor,
136136
"wait-clusterresourceset",
137137
),
138138
ResourceIntervals: e2eConfig.GetIntervals(
139-
flavour,
139+
flavor,
140140
"wait-resource",
141141
),
142142
},
@@ -148,7 +148,7 @@ var _ = Describe("Self-hosted", Serial, func() {
148148
WorkloadCluster: workloadCluster,
149149
ClusterProxy: proxy,
150150
DeploymentIntervals: e2eConfig.GetIntervals(
151-
flavour,
151+
flavor,
152152
"wait-deployment",
153153
),
154154
},
@@ -159,7 +159,7 @@ var _ = Describe("Self-hosted", Serial, func() {
159159
WorkloadCluster: workloadCluster,
160160
ClusterProxy: proxy,
161161
DeploymentIntervals: e2eConfig.GetIntervals(
162-
flavour,
162+
flavor,
163163
"wait-deployment",
164164
),
165165
},

0 commit comments

Comments
 (0)