Update agent.go

This commit is contained in:
Ettore Di Giacinto
2025-03-27 00:15:52 +01:00
committed by GitHub
parent 6ace4ab60d
commit f67ebe8c7a

View File

@@ -394,7 +394,7 @@ func (a *Agent) consumeJob(job *types.Job, role string) {
if err := job.GetContext().Err(); err != nil { if err := job.GetContext().Err(); err != nil {
job.Result.Finish("expired")) job.Result.Finish(fmt.Errorf("expired"))
return return
} }