ajout d'un commentaire lié au bug 251
This commit is contained in:
parent
36949c6c94
commit
4a74aa93a9
|
@ -138,7 +138,7 @@ class ClusterStatus:
|
|||
"""
|
||||
fEnergyConsumption = 0.0
|
||||
for machine in self.m_clusterNodes.itervalues():
|
||||
if machine.isReady():
|
||||
if machine.isReady(): # there are cases where the machine is not ready yet (for example, it's just been added to clustercontroller's control)
|
||||
fEnergyConsumption += machine.getEnergyConsumption()
|
||||
return fEnergyConsumption
|
||||
|
||||
|
|
Loading…
Reference in New Issue