diff --git a/main.go b/main.go index 14fbefe..1df93ba 100644 --- a/main.go +++ b/main.go @@ -54,7 +54,7 @@ func main() { s := gocron.NewScheduler(time.UTC) s.SingletonMode() - job, err := s.CronWithSeconds(configClient.CheckInterval).DoWithJobDetails(func(in string, job gocron.Job) { + job, err := s.CronWithSeconds(configClient.CheckInterval).DoWithJobDetails(func(job gocron.Job) { numberChanged, err := changeDetector.DetectAndApplyChanges() if err != nil { panic(err)