Skip to content

Commit

Permalink
feat: use filters in the new controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Huck committed Sep 20, 2023
1 parent ecd9f35 commit ab8b72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/calendarsync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func Run(c *cli.Context) error {
}
}

controller := sync.NewController(log.Default(), sourceAdapter, sinkAdapter, cfg.Sync.SyncDeclinedEvents, sync.TransformerFactory(cfg.Transformations)...)
controller := sync.NewController(log.Default(), sourceAdapter, sinkAdapter, sync.TransformerFactory(cfg.Transformations), sync.FilterFactory(cfg.Filters))
if cfg.UpdateConcurrency != 0 {
controller.SetConcurrency(cfg.UpdateConcurrency)
}
Expand Down

0 comments on commit ab8b72c

Please sign in to comment.