mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-22 00:32:59 +08:00
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
This commit is contained in:
parent
db75202208
commit
85830b19e9
@ -122,7 +122,7 @@ func NewController(
|
|||||||
})
|
})
|
||||||
// Set up an event handler for when Deployment resources change. This
|
// Set up an event handler for when Deployment resources change. This
|
||||||
// handler will lookup the owner of the given Deployment, and if it is
|
// 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
|
// processing. This way, we don't need to implement custom logic for
|
||||||
// handling Deployment resources. More info on this pattern:
|
// handling Deployment resources. More info on this pattern:
|
||||||
// https://github.com/kubernetes/community/blob/8cafef897a22026d42f5e5bb3f104febe7e29830/contributors/devel/controllers.md
|
// https://github.com/kubernetes/community/blob/8cafef897a22026d42f5e5bb3f104febe7e29830/contributors/devel/controllers.md
|
||||||
|
Loading…
Reference in New Issue
Block a user