Fix the message printed on job success

"Cannot be retried" does not make it clear if the job succeeded or failed.
This commit is contained in:
Alexander Krotov
2020-01-20 02:12:43 +03:00
committed by holger krekel
parent 186f5553b8
commit a3f2088046

View File

@@ -1035,10 +1035,7 @@ fn job_perform(context: &Context, thread: Thread, probe_network: bool) {
"{} removes job {} as it failed with error {:?}", thread, job, err
);
} else {
info!(
context,
"{} removes job {} as it cannot be retried", thread, job
);
info!(context, "{} removes job {} as it succeeded", thread, job);
}
job.delete(context);