Update cronjob_controller.go
Fix ignoreNotFound function
@@ -78,10 +78,10 @@ and requeuing in the mean time won't help.
*/
func ignoreNotFound(err error) error {
if apierrs.IsNotFound(err) {
- return err
- }
return nil
}
+ return err
+}
// +kubebuilder:docs-gen:collapse=ignoreNotFound
