Allow nomad to restore bad periodic job

This commit is contained in:
Alex Dadgar 2018-04-26 15:51:47 -07:00
parent 15ad3f94af
commit ea24513d38
1 changed files with 2 additions and 1 deletions

View File

@ -379,7 +379,8 @@ func (s *Server) restorePeriodicDispatcher() error {
}
if err := s.periodicDispatcher.Add(job); err != nil {
return err
s.logger.Printf("[ERR] nomad.periodic: %v", err)
continue
}
// We do not need to force run the job since it isn't active.