You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change add generic versions of event, handler and predicates along
the existing ones, prefixed with `Typed`. The existing ones are left in
place under the same signature.
The `source` constructors are changed to be generic.
returnerrors.New("there are no watches configured, controller will never get triggered. Use For(), Owns(), Watches() or WatchesRawSource() to set them up")
Copy file name to clipboardExpand all lines: pkg/builder/controller_test.go
+1-1
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ var _ = Describe("application", func() {
146
146
instance, err:=ControllerManagedBy(m).
147
147
Named("my_controller").
148
148
Build(noop)
149
-
Expect(err).To(MatchError(ContainSubstring("there are no watches configured, controller will never get triggered. Use For(), Owns()or Watches() to set them up")))
149
+
Expect(err).To(MatchError(ContainSubstring("there are no watches configured, controller will never get triggered. Use For(), Owns(), Watches() or WatchesRawSource() to set them up")))
0 commit comments