fix(retention) not retry retention job

Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
Ziming Zhang 2020-04-26 14:33:21 +08:00
parent 257924856c
commit 601ce08660

View File

@ -54,7 +54,7 @@ func (pj *Job) MaxCurrency() uint {
// ShouldRetry indicates job can be retried if failed // ShouldRetry indicates job can be retried if failed
func (pj *Job) ShouldRetry() bool { func (pj *Job) ShouldRetry() bool {
return true return false
} }
// Validate the parameters // Validate the parameters