timetable-extension #1

Open
fred.boniface wants to merge 160 commits from timetable-extension into main
Showing only changes of commit 3d730054c0 - Show all commits

View File

@ -83,7 +83,7 @@ func DeleteCifEntries(deletions []database.DeleteQuery) error {
log.Info("No deletions required") log.Info("No deletions required")
return nil return nil
} }
log.Info("Running deletions against database", zap.Int("count", len(deletions))) log.Debug("Running deletions against database", zap.Int("count", len(deletions)))
// Prepare deletion tasks // Prepare deletion tasks
collection := MongoClient.Database(databaseName).Collection(timetableCollection) collection := MongoClient.Database(databaseName).Collection(timetableCollection)
@ -115,7 +115,7 @@ func CreateCifEntries(schedules []database.Service) error {
log.Info("No creations required") log.Info("No creations required")
return nil return nil
} }
log.Info("Running creations against database", zap.Int("count", len(schedules))) log.Debug("Running creations against database", zap.Int("count", len(schedules)))
collection := MongoClient.Database(databaseName).Collection(timetableCollection) collection := MongoClient.Database(databaseName).Collection(timetableCollection)