From 2ce2fe9a2c8ff0c756d8d39cd8fd7f872a466b9c Mon Sep 17 00:00:00 2001 From: Vishesh <35740094+awalvie@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:04:00 +0100 Subject: [PATCH] :book: Fix typo in cronjob-tutorial (#3773) --- .../testdata/project/internal/controller/cronjob_controller.go | 2 +- .../docs/internal/cronjob-tutorial/controller_implementation.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go b/docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go index 1fb390bc66a..5b1adaa526e 100644 --- a/docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go +++ b/docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go @@ -60,7 +60,7 @@ type realClock struct{} func (_ realClock) Now() time.Time { return time.Now() } -// clock knows how to get the current time. +// Clock knows how to get the current time. // It can be used to fake out timing for testing. type Clock interface { Now() time.Time diff --git a/hack/docs/internal/cronjob-tutorial/controller_implementation.go b/hack/docs/internal/cronjob-tutorial/controller_implementation.go index fed8c7c55b3..7bb03aad4a4 100644 --- a/hack/docs/internal/cronjob-tutorial/controller_implementation.go +++ b/hack/docs/internal/cronjob-tutorial/controller_implementation.go @@ -57,7 +57,7 @@ type realClock struct{} func (_ realClock) Now() time.Time { return time.Now() } -// clock knows how to get the current time. +// Clock knows how to get the current time. // It can be used to fake out timing for testing. type Clock interface { Now() time.Time