MM-27449: Compliance Jobs rerun after warning status (#15178)
* add warning as success result * revert config changes * add unit test, update unit test * add a couple more tests * update store layers Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d48eec6727
Коммит
0302e0f477
@@ -2540,6 +2540,12 @@ func (s *RetryLayerJobStore) GetNewestJobByStatusAndType(status string, jobType
|
||||
|
||||
}
|
||||
|
||||
func (s *RetryLayerJobStore) GetNewestJobByStatusesAndType(statuses []string, jobType string) (*model.Job, *model.AppError) {
|
||||
|
||||
return s.JobStore.GetNewestJobByStatusesAndType(statuses, jobType)
|
||||
|
||||
}
|
||||
|
||||
func (s *RetryLayerJobStore) Save(job *model.Job) (*model.Job, *model.AppError) {
|
||||
|
||||
return s.JobStore.Save(job)
|
||||
|
||||
Ссылка в новой задаче
Block a user