Commit 1a232d4a by Gregory Nagy

ERROR: fixed (wrong name)

parent 7ecf2949
...@@ -117,7 +117,7 @@ class Node(TimeStampedModel): ...@@ -117,7 +117,7 @@ class Node(TimeStampedModel):
try: try:
handler = GraphiteHandler() handler = GraphiteHandler()
except: except:
response = self.remote_query(vm_tasks.get_monitor_info, 30) response = self.remote_query(vm_tasks.get_node_metrics, 30)
collected['cpu.usage'] = response['cpu.usage'] collected['cpu.usage'] = response['cpu.usage']
collected['memory.usage'] = response['memory.usage'] collected['memory.usage'] = response['memory.usage']
return collected return collected
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment