mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-27 13:02:59 +02:00
fix(retention) not retry retention job
Signed-off-by: Ziming Zhang <zziming@vmware.com>
This commit is contained in:
parent
257924856c
commit
601ce08660
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user