File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ Watching and EventHandling
171171
172172Controllers may Watch multiple Kinds of objects (e.g. Pods, ReplicaSets and Deployments), but they reconcile
173173only a single Type. When one Type of object must be updated in response to changes in another Type of object,
174- an EnqueueRequestFromMapFunc may be used to map events from one type to another. e.g. Respond to a cluster resize
174+ an EnqueueRequestsFromMapFunc may be used to map events from one type to another. e.g. Respond to a cluster resize
175175event (add / delete Node) by re-reconciling all instances of some API.
176176
177177A Deployment Controller might use an EnqueueRequestForObject and EnqueueRequestForOwner to:
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333// * Use EnqueueRequestForOwner to reconcile the owner of the object the event is for
3434// - do this for events for the types the Controller creates. (e.g. ReplicaSets created by a Deployment Controller)
3535//
36- // * Use EnqueueRequestFromMapFunc to transform an event for an object to a reconcile of an object
36+ // * Use EnqueueRequestsFromMapFunc to transform an event for an object to a reconcile of an object
3737// of a different type - do this for events for types the Controller may be interested in, but doesn't create.
3838// (e.g. If Foo responds to cluster size events, map Node events to Foo objects.)
3939//
You can’t perform that action at this time.
0 commit comments