Skip to content

Commit

Permalink
fix: correct logging order for notifiers in config
Browse files Browse the repository at this point in the history
  • Loading branch information
revelaction committed Sep 13, 2024
1 parent 1cffbc9 commit 4b8247f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ical-git/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ func initialize(path string) (context.CancelFunc, *schedule.Scheduler) {
slog.Info("📝 Config:", "Git Repo URL", conf.FetcherGit.Url)
slog.Info("📝 Config:", "Private SSH Key Path", conf.FetcherGit.PrivateKeyPath)
}
slog.Info("📝 Config:", "notifiers", strings.Join(conf.NotifierTypes, ", "))
if !conf.IsFetcherGit() {
slog.Info("📝 Config:", "ical_directory", conf.FetcherFilesystem.Directory)
}
slog.Info("📝 Config:", "notifiers", strings.Join(conf.NotifierTypes, ", "))
for _, alarm := range conf.Alarms {
slog.Info("📝 Config: 🔔", "type", alarm.Action, "durIso", alarm.DurIso8601, "dur", alarm.Dur)
}
Expand Down

0 comments on commit 4b8247f

Please sign in to comment.