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:
Frechdachs 2016-07-22 19:45:51 +02:00 committed by GitHub
parent 2603a394cd
commit 7caa3ecd3e

View File

@ -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']