mirror of https://github.com/jumpserver/jumpserver
parent
ab76745a9f
commit
0adc854721
|
@ -250,12 +250,12 @@ class DatesLoginMetricMixin:
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
def commands_amount(self):
|
def commands_amount(self):
|
||||||
total_amount, _ = self.command_statistics
|
total_amount, __ = self.command_statistics
|
||||||
return total_amount
|
return total_amount
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
def commands_danger_amount(self):
|
def commands_danger_amount(self):
|
||||||
_, danger_amount = self.command_statistics
|
__, danger_amount = self.command_statistics
|
||||||
return danger_amount
|
return danger_amount
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
|
|
Loading…
Reference in New Issue