Skip to content

Commit

Permalink
Update examples/guestbook-operator/controllers/guestbook_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: atoato88 <akihito-inou@nec.com>
  • Loading branch information
stephanhorsthemke and atoato88 committed May 24, 2023
1 parent 25e96fc commit 945f0f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ func (r *GuestbookReconciler) SetupWithManager(mgr ctrl.Manager) error {
}

// Watch for changes to deployed objects
err = declarative.WatchChildren(declarative.WatchChildrenOptions{Manager: mgr, Controller: c, Reconciler: r, LabelMaker: r.watchLabels}) if err != nil {
err = declarative.WatchChildren(declarative.WatchChildrenOptions{Manager: mgr, Controller: c, Reconciler: r, LabelMaker: r.watchLabels})
if err != nil {
return err
}

Expand Down

0 comments on commit 945f0f5

Please sign in to comment.