Fix build error

This commit is contained in:
DanB
2015-09-30 14:05:30 +02:00
parent 6827241d2d
commit b3d540e46f

View File

@@ -93,7 +93,7 @@ func (s *Scheduler) LoadActionPlans(storage engine.RatingStorage) {
newApls := make([]*engine.ActionPlan, 0) // will remove the one time runs from the database
for _, ap := range aps {
if ap.Timing == nil {
Logger.Warning(fmt.Sprintf("Nil timing on action plan: %+v, discarding!", at))
engine.Logger.Warning(fmt.Sprintf("<Scheduler> Nil timing on action plan: %+v, discarding!", ap))
continue
}
isAsap = ap.IsASAP()