Skip to content

Commit 6dac75d

Browse files
authored
Merge pull request #2598 from k8s-infra-cherrypick-robot/cherry-pick-2575-to-release-1.4
[release-1.4] Fix spelling errors pointed out by Codespell
2 parents 832c1f7 + f6b6c54 commit 6dac75d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

controllers/helpers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ type (
6969
// AzureClusterToAzureMachinesMapper creates a mapping handler to transform AzureClusters into AzureMachines. The transform
7070
// requires AzureCluster to map to the owning Cluster, then from the Cluster, collect the Machines belonging to the cluster,
7171
// then finally projecting the infrastructure reference to the AzureMachine.
72-
func AzureClusterToAzureMachinesMapper(ctx context.Context, c client.Client, ro runtime.Object, scheme *runtime.Scheme, log logr.Logger) (handler.MapFunc, error) {
73-
gvk, err := apiutil.GVKForObject(ro, scheme)
72+
func AzureClusterToAzureMachinesMapper(ctx context.Context, c client.Client, obj runtime.Object, scheme *runtime.Scheme, log logr.Logger) (handler.MapFunc, error) {
73+
gvk, err := apiutil.GVKForObject(obj, scheme)
7474
if err != nil {
7575
return nil, errors.Wrap(err, "failed to find GVK for AzureMachine")
7676
}

hack/observability/prometheus/resources/bundle.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4486,7 +4486,7 @@ spec:
44864486
If underlying persistent volume is being resized then
44874487
the Condition will be set to 'ResizeStarted'.
44884488
items:
4489-
description: PersistentVolumeClaimCondition contails
4489+
description: PersistentVolumeClaimCondition contains
44904490
details about state of pvc
44914491
properties:
44924492
lastProbeTime:
@@ -11335,7 +11335,7 @@ spec:
1133511335
If underlying persistent volume is being resized then
1133611336
the Condition will be set to 'ResizeStarted'.
1133711337
items:
11338-
description: PersistentVolumeClaimCondition contails
11338+
description: PersistentVolumeClaimCondition contains
1133911339
details about state of pvc
1134011340
properties:
1134111341
lastProbeTime:
@@ -17146,7 +17146,7 @@ spec:
1714617146
If underlying persistent volume is being resized then
1714717147
the Condition will be set to 'ResizeStarted'.
1714817148
items:
17149-
description: PersistentVolumeClaimCondition contails
17149+
description: PersistentVolumeClaimCondition contains
1715017150
details about state of pvc
1715117151
properties:
1715217152
lastProbeTime:

0 commit comments

Comments
 (0)