Skip to content

Commit 1762a68

Browse files
authored
Merge pull request #2727 from dnaeon/fix/minor-typos
🌱 Minor typo fixes in docstrings
2 parents e08b286 + b8c8109 commit 1762a68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/source/source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ const (
3636
defaultBufferSize = 1024
3737
)
3838

39-
// Source is a source of events (eh.g. Create, Update, Delete operations on Kubernetes Objects, Webhook callbacks, etc)
39+
// Source is a source of events (e.g. Create, Update, Delete operations on Kubernetes Objects, Webhook callbacks, etc)
4040
// which should be processed by event.EventHandlers to enqueue reconcile.Requests.
4141
//
4242
// * Use Kind for events originating in the cluster (e.g. Pod Create, Pod Update, Deployment Update).
4343
//
44-
// * Use Channel for events originating outside the cluster (eh.g. GitHub Webhook callback, Polling external urls).
44+
// * Use Channel for events originating outside the cluster (e.g. GitHub Webhook callback, Polling external urls).
4545
//
4646
// Users may build their own Source implementations.
4747
type Source interface {
@@ -66,7 +66,7 @@ var _ Source = &Channel{}
6666

6767
// Channel is used to provide a source of events originating outside the cluster
6868
// (e.g. GitHub Webhook callback). Channel requires the user to wire the external
69-
// source (eh.g. http handler) to write GenericEvents to the underlying channel.
69+
// source (e.g. http handler) to write GenericEvents to the underlying channel.
7070
type Channel struct {
7171
// once ensures the event distribution goroutine will be performed only once
7272
once sync.Once

0 commit comments

Comments
 (0)