Commit 9d8e8ef0 by Kálmán Viktor

dashboard: fix graph for disabled node

parent 65fe7932
...@@ -241,7 +241,7 @@ class NodeAllocated(object): ...@@ -241,7 +241,7 @@ class NodeAllocated(object):
def get_target(self): def get_target(self):
prefix = self.obj.metric_prefix prefix = self.obj.metric_prefix
if self.obj.online: if self.obj.online and self.obj.enabled:
ram_size = self.obj.ram_size ram_size = self.obj.ram_size
else: else:
ram_size = 0 ram_size = 0
......
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