Skip to content

Commit

Permalink
Update docs/book/src/reference/creating-events.md
Browse files Browse the repository at this point in the history
Co-authored-by: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com>
  • Loading branch information
Sajiyah-Salat and camilamacedo86 committed May 8, 2023
1 parent 04c3ee7 commit c1d4369
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions docs/book/src/reference/creating-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,6 @@ which can be created for a Controller by calling `GetRecorder(name string)` on a

c) You can check an example of the event being called in: https://github.com/kubernetes-sigs/kubebuilder/blob/master/testdata/project-v4-with-deploy-image/controllers/memcached_controller.go#L299-L303

```go
// newReconciler returns a new reconcile.Reconciler
func newReconciler(mgr manager.Manager) reconcile.Reconciler {
return &ReconcileContainerSet{
Client: mgr.GetClient(),
scheme: mgr.GetScheme(),
recorder: mgr.GetRecorder("containerset-controller"),
}
}
```






Expand Down

0 comments on commit c1d4369

Please sign in to comment.