Skip to content

Commit 5845cb3

Browse files
authored
Merge pull request #4543 from guettli/fix-grammar-in-lets--let-us
📖 Fix grammar in lets -> let's.
2 parents 20c4fe6 + 1a95342 commit 5845cb3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/book/src/cronjob-tutorial/testdata/finalizer_example.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
6464
// examine DeletionTimestamp to determine if object is under deletion
6565
if cronJob.ObjectMeta.DeletionTimestamp.IsZero() {
6666
// The object is not being deleted, so if it does not have our finalizer,
67-
// then lets add the finalizer and update the object. This is equivalent
67+
// then let's add the finalizer and update the object. This is equivalent
6868
// to registering our finalizer.
6969
if !controllerutil.ContainsFinalizer(cronJob, myFinalizerName) {
7070
controllerutil.AddFinalizer(cronJob, myFinalizerName)
@@ -75,7 +75,7 @@ func (r *CronJobReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
7575
} else {
7676
// The object is being deleted
7777
if controllerutil.ContainsFinalizer(cronJob, myFinalizerName) {
78-
// our finalizer is present, so lets handle any external dependency
78+
// our finalizer is present, so let's handle any external dependency
7979
if err := r.deleteExternalResources(cronJob); err != nil {
8080
// if fail to delete the external dependency here, return with error
8181
// so that it can be retried.

pkg/config/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (v *Version) Parse(version string) error {
5050

5151
var err error
5252
if v.Number, err = strconv.Atoi(substrings[0]); err != nil {
53-
// Lets check if the `-` belonged to a negative number
53+
// Let's check if the `-` belonged to a negative number
5454
if n, err := strconv.Atoi(version); err == nil && n < 0 {
5555
return errNonPositive
5656
}

pkg/plugin/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (v *Version) Parse(version string) error {
5050

5151
var err error
5252
if v.Number, err = strconv.Atoi(substrings[0]); err != nil {
53-
// Lets check if the `-` belonged to a negative number
53+
// Let's check if the `-` belonged to a negative number
5454
if n, err := strconv.Atoi(version); err == nil && n < 0 {
5555
return errNegative
5656
}

0 commit comments

Comments
 (0)