Commit 2f838284 by Őry Máté

vm: fix typo in task name

parent 3572f870
...@@ -122,7 +122,7 @@ class Node(TimeStampedModel): ...@@ -122,7 +122,7 @@ class Node(TimeStampedModel):
@method_cache(10, 5) @method_cache(10, 5)
def online(self): def online(self):
return self.remote_query(vm_tasks.get_num_cores, timeout=1, return self.remote_query(vm_tasks.get_core_num, timeout=1,
default=False) default=False)
@property @property
...@@ -130,7 +130,7 @@ class Node(TimeStampedModel): ...@@ -130,7 +130,7 @@ class Node(TimeStampedModel):
def num_cores(self): def num_cores(self):
"""Number of CPU threads available to the virtual machines.""" """Number of CPU threads available to the virtual machines."""
return self.remote_query(vm_tasks.get_num_cores) return self.remote_query(vm_tasks.get_core_num)
@property @property
@method_cache(300) @method_cache(300)
......
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