Explorar el Código

reschedule the job if any hook fails

z4yx hace 5 años
padre
commit
839363aaaa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      worker/job.go

+ 1 - 1
worker/job.go

@@ -113,7 +113,7 @@ func (m *mirrorJob) Run(managerChan chan<- jobMessage, semaphore chan empty) err
 				managerChan <- jobMessage{
 					tunasync.Failed, m.Name(),
 					fmt.Sprintf("error exec hook %s: %s", hookname, err.Error()),
-					false,
+					true,
 				}
 				return err
 			}