Skip to content

fix various typos #1935

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 docs/cloud-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ accessKeyId: "<< YOUR_ACCESS_KEY_ID >>"
secretAccessKey: "<< YOUR_SECRET_ACCESS_KEY_ID >>"
# region for the instance
region: "eu-central-1"
# avaiability zone for the instance
# availability zone for the instance
availabilityZone: "eu-central-1a"
# vpc id for the instance
vpcId: "vpc-079f7648481a11e77"
Expand Down
4 changes: 2 additions & 2 deletions docs/vsphere.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To see where to locate the OVAs go to the OS specific section.
3. Click through the dialog until "Select storage"
4. Select the same storage you want to use for your machines
5. Select the same network you want to use for your machines
6. Leave everyhting in the "Customize Template" and "Ready to complete" dialog as it is
6. Leave everything in the "Customize Template" and "Ready to complete" dialog as it is
7. Wait until the VM got fully imported and the "Snapshots" => "Create Snapshot" button is not grayed out anymore

#### Command-line procedure
Expand Down Expand Up @@ -168,7 +168,7 @@ Procedure:
3. Upload to vSphere using WebUI or GOVC:

Make sure to replace the parameters on the command below with the correct
values specific to yout vSphere environment.
values specific to your vSphere environment.

```
govc import.vmdk -dc=dc-1 -pool=/dc-1/host/cl-1/Resources -ds=ds-1 "./${image_name}.vmdk"
Expand Down
2 changes: 1 addition & 1 deletion hack/ci/setup-machine-controller-in-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ OSM_TMP_DIR=/tmp/osm
(
# Clone OSM repo
mkdir -p $OSM_TMP_DIR
echodate "Cloning OSM respository"
echodate "Cloning OSM repository"
git clone --depth 1 --branch "${OSM_REPO_TAG}" "${OSM_REPO_URL}" $OSM_TMP_DIR
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/cloudprovider/provider/kubevirt/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,14 +1144,14 @@ func appendTopologiesLabels(ctx context.Context, c *Config, labels map[string]st
return nil
}

func getStorageTopologies(ctx context.Context, storageClasName string, c *Config, labels map[string]string) error {
func getStorageTopologies(ctx context.Context, storageClassName string, c *Config, labels map[string]string) error {
kubeClient, err := ctrlruntimeclient.New(c.RestConfig, ctrlruntimeclient.Options{})
if err != nil {
return fmt.Errorf("failed to get kubevirt client: %w", err)
}

sc := &storagev1.StorageClass{}
if err := kubeClient.Get(ctx, types.NamespacedName{Name: storageClasName}, sc); err != nil {
if err := kubeClient.Get(ctx, types.NamespacedName{Name: storageClassName}, sc); err != nil {
return err
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/provider/openstack/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func ExpectServerCreated(t *testing.T, expectedServer string) {
// expectedServer copied into the response (e.g. name).
err := json.Unmarshal([]byte(expectedServer), &res)
if err != nil {
t.Fatalf("Error occurred while unmarshaling the expected server manifest.")
t.Fatalf("Error occurred while unmarshalling the expected server manifest.")
}
res.Server.ID = "1bea47ed-f6a9-463b-b423-14b9cca9ad27"
srvRes, err := json.Marshal(res)
Expand Down
4 changes: 2 additions & 2 deletions pkg/controller/machine/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const (

// AnnotationMachineUninitialized indicates that a machine is not yet
// ready to be worked on by the machine-controller. The machine-controller
// will ignore all machines that have this anotation with any value
// will ignore all machines that have this annotation with any value
// Its value should consist of one or more initializers, separated by a comma.
AnnotationMachineUninitialized = "machine-controller.kubermatic.io/initializers"

Expand Down Expand Up @@ -261,7 +261,7 @@ func enqueueRequestsForNodes(ctx context.Context, log *zap.SugaredLogger, mgr ma
ownerUIDString, exists = nodeLabels[NodeOwnerLabelName]
}
if !exists {
// We get triggered by node{Add,Update}, so enqeue machines if they
// We get triggered by node{Add,Update}, so enqueue machines if they
// have no nodeRef yet to make matching happen ASAP
for _, machine := range machinesList.Items {
if machine.Status.NodeRef == nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/machinedeployment/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (r *ReconcileMachineDeployment) getMachineDeploymentsForMachineSet(ctx cont
return deployments
}

// MachineSetTodeployments is a handler.MapFunc to be used to enqeue requests for reconciliation
// MachineSetTodeployments is a handler.MapFunc to be used to enqueue requests for reconciliation
// for MachineDeployments that might adopt an orphaned MachineSet.
func (r *ReconcileMachineDeployment) MachineSetToDeployments() handler.MapFunc {
return func(ctx context.Context, o ctrlruntimeclient.Object) []ctrlruntime.Request {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/machineset/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func (r *ReconcileMachineSet) waitForMachineDeletion(ctx context.Context, machin
return nil
}

// MachineToMachineSets is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation
// MachineToMachineSets is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation
// for MachineSets that might adopt an orphaned Machine.
func (r *ReconcileMachineSet) MachineToMachineSets() handler.MapFunc {
return func(ctx context.Context, o ctrlruntimeclient.Object) []ctrlruntime.Request {
Expand Down