Commit fcb3d718 by Dudás Ádám

vm: fix task misreference

parent 74b83896
......@@ -149,9 +149,7 @@ class Node(TimeStampedModel):
@property
@method_cache(10, 5)
def online(self):
return self.remote_query(vm_tasks.get_core_num, timeout=1,
default=False)
return self.remote_query(vm_tasks.ping, timeout=1, default=False)
@property
@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