Skip to content

Commit 42e9483

Browse files
committed
fix grammar.
1 parent 9e0dd80 commit 42e9483

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

api/v1beta1/hetznerbaremetalmachine_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ type HetznerBareMetalMachineSpec struct {
7070
// ProviderID will be the hetznerbaremetalmachine which is set by the controller in the
7171
// `hrobot://<server-id>` format. Before caph v1.1.0 the ProviderID had the format
7272
// `hcloud://bm-NNNNN`. Starting with caph v1.1.x this was changed to `hrobot://NNNNN`. This
73-
// alligns to the upstream hcloud ccm. In the long run we want discontinue our ccm fork.
73+
// aligns to the upstream hcloud ccm. In the long run we want to discontinue our ccm fork.
7474
// +optional
7575
ProviderID *string `json:"providerID,omitempty"`
7676

config/crd/bases/infrastructure.cluster.x-k8s.io_hetznerbaremetalmachines.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ spec:
257257
ProviderID will be the hetznerbaremetalmachine which is set by the controller in the
258258
`hrobot://<server-id>` format. Before caph v1.1.0 the ProviderID had the format
259259
`hcloud://bm-NNNNN`. Starting with caph v1.1.x this was changed to `hrobot://NNNNN`. This
260-
alligns to the upstream hcloud ccm. In the long run we want discontinue our ccm fork.
260+
aligns to the upstream hcloud ccm. In the long run we want to discontinue our ccm fork.
261261
type: string
262262
sshSpec:
263263
description: SSHSpec gives a reference on the secret where SSH details

config/crd/bases/infrastructure.cluster.x-k8s.io_hetznerbaremetalmachinetemplates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ spec:
244244
ProviderID will be the hetznerbaremetalmachine which is set by the controller in the
245245
`hrobot://<server-id>` format. Before caph v1.1.0 the ProviderID had the format
246246
`hcloud://bm-NNNNN`. Starting with caph v1.1.x this was changed to `hrobot://NNNNN`. This
247-
alligns to the upstream hcloud ccm. In the long run we want discontinue our ccm fork.
247+
aligns to the upstream hcloud ccm. In the long run we want to discontinue our ccm fork.
248248
type: string
249249
sshSpec:
250250
description: SSHSpec gives a reference on the secret where

pkg/services/baremetal/baremetal/baremetal.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,11 +899,9 @@ func checkForRequeueError(err error, errMessage string) (res reconcile.Result, r
899899
return reconcile.Result{}, fmt.Errorf("%s: %w", errMessage, err)
900900
}
901901

902-
// providerIDFromServerID returns the ProviderID.
903-
// Before caph v1.1.0 the ProviderID had the format `hcloud://bm-NNNNN`.
904-
// Starting with caph v1.1.x this was changed to `hrobot://NNNNN`.
905-
// This alligns to the upstream hcloud ccm. In the long run we want
906-
// discontinue our ccm fork.
902+
// providerIDFromServerID returns the ProviderID. Before caph v1.1.0 the ProviderID had the format
903+
// `hcloud://bm-NNNNN`. Starting with caph v1.1.x this was changed to `hrobot://NNNNN`. This aligns
904+
// to the upstream hcloud ccm. In the long run we want to discontinue our ccm fork.
907905
func providerIDFromServerID(serverID int) string {
908906
return fmt.Sprintf("%s%d", providerIDPrefix, serverID)
909907
}

0 commit comments

Comments
 (0)