From 85830b19e97c405c649e1b072e32f9688d531216 Mon Sep 17 00:00:00 2001 From: Steven Pitts <25968054+makusu2@users.noreply.github.com> Date: Mon, 28 Jun 2021 19:18:22 -0400 Subject: [PATCH] Fix grammar Original: > This handler will lookup the owner of the given Deployment, and if it is owned by a Foo resource will enqueue that Foo resource for processing. Fixed: > This handler will lookup the owner of the given Deployment, and if it is owned by a Foo resource then the handler will enqueue that Foo resource for processing. Kubernetes-commit: c21f9cb59d2bd23804959cf41dc0b2c349b66b9d --- controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.go b/controller.go index a3e481b0..ab6ce035 100644 --- a/controller.go +++ b/controller.go @@ -122,7 +122,7 @@ func NewController( }) // Set up an event handler for when Deployment resources change. This // handler will lookup the owner of the given Deployment, and if it is - // owned by a Foo resource will enqueue that Foo resource for + // owned by a Foo resource then the handler will enqueue that Foo resource for // processing. This way, we don't need to implement custom logic for // handling Deployment resources. More info on this pattern: // https://github.com/kubernetes/community/blob/8cafef897a22026d42f5e5bb3f104febe7e29830/contributors/devel/controllers.md