mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-01 22:58:59 +00:00
perf: job executed fail api
This commit is contained in:
parent
e82eb8f3d1
commit
cdb89ee2f2
@ -327,7 +327,7 @@ class DatesLoginMetricMixin:
|
||||
|
||||
@lazyproperty
|
||||
def jobs_executed_failed_amount(self):
|
||||
return self.jobs_executed_queryset.objects.filter(
|
||||
return self.jobs_executed_queryset.filter(
|
||||
status=JobStatus.failed).count()
|
||||
|
||||
@lazyproperty
|
||||
|
Loading…
Reference in New Issue
Block a user