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,7 +138,8 @@ class ClusterStatus:
|
||||||
"""
|
"""
|
||||||
fEnergyConsumption = 0.0
|
fEnergyConsumption = 0.0
|
||||||
for machine in self.m_clusterNodes.itervalues():
|
for machine in self.m_clusterNodes.itervalues():
|
||||||
fEnergyConsumption += machine.getEnergyConsumption()
|
if machine.isReady():
|
||||||
|
fEnergyConsumption += machine.getEnergyConsumption()
|
||||||
return fEnergyConsumption
|
return fEnergyConsumption
|
||||||
|
|
||||||
def getEnergySavings( self ):
|
def getEnergySavings( self ):
|
||||||
|
|
Loading…
Reference in New Issue