Skip to content

Commit ac2b8d8

Browse files
kkkkunatoato88
andauthored
Update examples/guestbook-operator/controllers/guestbook_controller.go
Update syntax error Co-authored-by: atoato88 <akihito-inou@nec.com>
1 parent 8e81e61 commit ac2b8d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/guestbook-operator/controllers/guestbook_controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ func (r *GuestbookReconciler) SetupWithManager(mgr ctrl.Manager) error {
8484
}
8585

8686
// Watch for changes to deployed objects
87-
err = declarative.WatchChildren(declarative.WatchChildrenOptions{Manager: mgr, Controller: c, Reconciler: r, LabelMaker: r.watchLabels}) if err != nil {
87+
err = declarative.WatchChildren(declarative.WatchChildrenOptions{Manager: mgr, Controller: c, Reconciler: r, LabelMaker: r.watchLabels})
88+
if err != nil {
8889
return err
8990
}
9091

0 commit comments

Comments
 (0)