File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ Watching and EventHandling
171
171
172
172
Controllers may Watch multiple Kinds of objects (e.g. Pods, ReplicaSets and Deployments), but they reconcile
173
173
only 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
175
175
event (add / delete Node) by re-reconciling all instances of some API.
176
176
177
177
A Deployment Controller might use an EnqueueRequestForObject and EnqueueRequestForOwner to:
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
33
33
// * Use EnqueueRequestForOwner to reconcile the owner of the object the event is for
34
34
// - do this for events for the types the Controller creates. (e.g. ReplicaSets created by a Deployment Controller)
35
35
//
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
37
37
// of a different type - do this for events for types the Controller may be interested in, but doesn't create.
38
38
// (e.g. If Foo responds to cluster size events, map Node events to Foo objects.)
39
39
//
You can’t perform that action at this time.
0 commit comments