correction du bug 251 (je me demande pourquoi ce problème n'est pas apparu avant)
This commit is contained in:
parent
47b86312a6
commit
36949c6c94
|
@ -138,6 +138,7 @@ class ClusterStatus:
|
||||||
"""
|
"""
|
||||||
fEnergyConsumption = 0.0
|
fEnergyConsumption = 0.0
|
||||||
for machine in self.m_clusterNodes.itervalues():
|
for machine in self.m_clusterNodes.itervalues():
|
||||||
|
if machine.isReady():
|
||||||
fEnergyConsumption += machine.getEnergyConsumption()
|
fEnergyConsumption += machine.getEnergyConsumption()
|
||||||
return fEnergyConsumption
|
return fEnergyConsumption
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue