Skip to content

Commit e08cb0a

Browse files
committed
Fix error in doc
1 parent 8c39906 commit e08cb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/builder/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (blder *Builder) For(apiType runtime.Object) *Builder {
7474

7575
// Owns defines types of Objects being *generated* by the ControllerManagedBy, and configures the ControllerManagedBy to respond to
7676
// create / delete / update events by *reconciling the owner object*. This is the equivalent of calling
77-
// Watches(&handler.EnqueueRequestForOwner{&source.Kind{Type: <ForType-apiType>}, &handler.EnqueueRequestForOwner{OwnerType: apiType, IsController: true})
77+
// Watches(&source.Kind{Type: <ForType-apiType>}, &handler.EnqueueRequestForOwner{OwnerType: apiType, IsController: true})
7878
func (blder *Builder) Owns(apiType runtime.Object) *Builder {
7979
blder.managedObjects = append(blder.managedObjects, apiType)
8080
return blder

0 commit comments

Comments
 (0)