Change from 'Power' to 'Energy'
While it was 'Power' for the sake of being convenient to people about power metrics, it is not strictly accurate. Change to the accurate description and people will just have to know to look for Energy rather than Power. Change-Id: Iaa303b417740015bd35ef0a4d41928a4c40bf933
This commit is contained in:
parent
243cf797de
commit
0b14ffdbca
@ -300,7 +300,7 @@ class IMMClient(object):
|
||||
return self._energymanager.supportedmeters
|
||||
|
||||
def get_oem_sensor_descriptions(self, ipmicmd):
|
||||
return [{'name': x, 'type': 'Power'
|
||||
return [{'name': x, 'type': 'Energy'
|
||||
} for x in self.get_oem_sensor_names(ipmicmd)]
|
||||
|
||||
def get_oem_sensor_reading(self, name, ipmicmd):
|
||||
@ -316,7 +316,7 @@ class IMMClient(object):
|
||||
'value': kwh, 'states': [],
|
||||
'state_ids': [],
|
||||
'health': pygconst.Health.Ok,
|
||||
'type': 'Power'}, 'kWh')
|
||||
'type': 'Energy'}, 'kWh')
|
||||
|
||||
def weblogout(self):
|
||||
if self._wc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user