Skip to content

Commit

Permalink
Fix bug of registering all notifier sinks twice (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptnapoleon authored Aug 7, 2024
1 parent 561c08c commit 56a24ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,6 @@ func main() {
}

if cfg.Controller.DisruptionCronEnabled {
eventbroadcaster.RegisterNotifierSinks(mgr, broadcaster, notifiers, logger)

disruptionCronRecorder := broadcaster.NewRecorder(mgr.GetScheme(), corev1.EventSource{Component: chaosv1beta1.SourceDisruptionCronComponent})

// create disruption cron reconciler
Expand Down

0 comments on commit 56a24ff

Please sign in to comment.