mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Merge pull request #319 from Contextualist/fix-cron-nil
Fix nil pointer dereference for cron
This commit is contained in:
+1
-1
@@ -168,7 +168,7 @@ func main() {
|
||||
defer close(updates)
|
||||
|
||||
// Create Cron
|
||||
c := cron.New(cron.WithChain(cron.SkipIfStillRunning(nil)))
|
||||
c := cron.New(cron.WithChain(cron.SkipIfStillRunning(cron.DiscardLogger)))
|
||||
m := make(map[string]cron.EntryID)
|
||||
|
||||
// Run updates listener
|
||||
|
||||
Reference in New Issue
Block a user