Fix wrong dictionary key
Fixes the problem that one had to use ``{format_all}`` while the documentation clearly states ``{usage_all}``
This commit is contained in:
parent
2603a394cd
commit
7caa3ecd3e
@ -113,7 +113,7 @@ class CpuUsage(IntervalModule):
|
||||
|
||||
def run(self):
|
||||
usage = self.get_usage()
|
||||
usage['format_all'] = self.gen_format_all(usage)
|
||||
usage['usage_all'] = self.gen_format_all(usage)
|
||||
|
||||
# for backward compatibility
|
||||
usage['usage'] = usage['usage_cpu']
|
||||
|
Loading…
Reference in New Issue
Block a user