Explorar o código

reschedule the job if any hook fails

z4yx %!s(int64=5) %!d(string=hai) anos
pai
achega
839363aaaa
Modificáronse 1 ficheiros con 1 adicións e 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
 			}