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
@@ -569,6 +569,7 @@ type JobStore interface {
|
||||
GetAllByTypePage(jobType string, offset int, limit int) ([]*model.Job, *model.AppError)
|
||||
GetAllByStatus(status string) ([]*model.Job, *model.AppError)
|
||||
GetNewestJobByStatusAndType(status string, jobType string) (*model.Job, *model.AppError)
|
||||
GetNewestJobByStatusesAndType(statuses []string, jobType string) (*model.Job, *model.AppError)
|
||||
GetCountByStatusAndType(status string, jobType string) (int64, *model.AppError)
|
||||
Delete(id string) (string, *model.AppError)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user