Skip to content

Commit c1b079c

Browse files
authored
Merge pull request #324 from jsoref/spelling
2 parents 818521e + 70b0eac commit c1b079c

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ HELMIFY ?= $(LOCALBIN)/helmify
261261
## Tool Versions
262262
KUSTOMIZE_VERSION ?= v5.2.1
263263
CONTROLLER_TOOLS_VERSION ?= v0.14.0
264-
HELMIFY_VESRION ?= v0.4.10
264+
HELMIFY_VERSION ?= v0.4.10
265265

266266
.PHONY: kustomize
267267
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary. If wrong version is installed, it will be removed before downloading.
@@ -287,7 +287,7 @@ $(ENVTEST): $(LOCALBIN)
287287
.PHONY: helmify
288288
helmify: $(HELMIFY) ## Download helmify locally if necessary.
289289
$(HELMIFY): $(LOCALBIN)
290-
@test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@$(HELMIFY_VESRION)
290+
@test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@$(HELMIFY_VERSION)
291291

292292
.PHONY: e2e
293293
e2e: ## Run e2e tests

apps/order-processor/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ func init() {
1717
})
1818
}
1919

20-
// main functiion must be included for the compiler but is not executed.
20+
// main function must be included for the compiler but is not executed.
2121
func main() {}

config/crd/bases/core.spinoperator.dev_spinapps.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,13 +1620,13 @@ spec:
16201620
type: object
16211621
hostPath:
16221622
description: |-
1623-
hostPath represents a pre-existing file or directory on the host
1623+
hostPath represents a preexisting file or directory on the host
16241624
machine that is directly exposed to the container. This is generally
16251625
used for system agents or other privileged things that are allowed
16261626
to see the host machine. Most containers will NOT need this.
16271627
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
16281628
---
1629-
TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not
1629+
TODO(jonesdl) We need to restrict who can use host directory mounts and who can/cannot
16301630
mount host directories as read/write.
16311631
properties:
16321632
path:

internal/controller/spinapp_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func (r *SpinAppReconciler) ensureCASecret(ctx context.Context, caSecretName, na
248248
}
249249

250250
err := r.Client.Get(ctx, types.NamespacedName{Name: caSecretName, Namespace: namespace}, secret)
251-
if !apierrors.IsNotFound(err) { // secret is not not found
251+
if !apierrors.IsNotFound(err) {
252252
return nil
253253
}
254254
return r.Client.Create(ctx, secret)

internal/controller/spinapp_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func TestConstructDeployment_WithPodLabels(t *testing.T) {
434434
require.Equal(t, deployment.Spec.Template.Labels[key], value)
435435
}
436436

437-
func TestReconcile_Integration_AnnotationAndLabelPropagataion(t *testing.T) {
437+
func TestReconcile_Integration_AnnotationAndLabelPropagation(t *testing.T) {
438438
t.Parallel()
439439

440440
envTest, mgr, _ := setupController(t)

internal/logging/logr_logger.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Package logging provides the operators's recommended logging interface.
22
//
33
// The logging interface avoids the complexity of levels and provides a simpler
4-
// api that makes it harder to introduce unnecesasry ambiguity to logs (or
4+
// api that makes it harder to introduce unnecessary ambiguity to logs (or
55
// ascribing value to arbitrary magic numbers).
66
//
77
// An Error logging helper exists primarily to facilitate including a stack trace
@@ -54,7 +54,7 @@ func (l nopLogger) WithValues(_ ...any) Logger { return nopLogger{} }
5454

5555
// NewLogrLogger returns a Logger that is satisfied by the supplied logr.Logger,
5656
// which may be satisfied in turn by various logging implementations.
57-
// Debug messages are logged at V(1) - following the reccomendation of
57+
// Debug messages are logged at V(1) - following the recommendation of
5858
// controller-runtime.
5959
func NewLogrLogger(l logr.Logger) Logger {
6060
return logrLogger{log: l}

0 commit comments

Comments
 (0)