Skip to content

Commit 2ce2fe9

Browse files
authored
📖 Fix typo in cronjob-tutorial (#3773)
1 parent 919502e commit 2ce2fe9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/book/src/cronjob-tutorial/testdata/project/internal/controller/cronjob_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type realClock struct{}
6060

6161
func (_ realClock) Now() time.Time { return time.Now() }
6262

63-
// clock knows how to get the current time.
63+
// Clock knows how to get the current time.
6464
// It can be used to fake out timing for testing.
6565
type Clock interface {
6666
Now() time.Time

hack/docs/internal/cronjob-tutorial/controller_implementation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ type realClock struct{}
5757
5858
func (_ realClock) Now() time.Time { return time.Now() }
5959
60-
// clock knows how to get the current time.
60+
// Clock knows how to get the current time.
6161
// It can be used to fake out timing for testing.
6262
type Clock interface {
6363
Now() time.Time

0 commit comments

Comments
 (0)