2
0
mirror of https://opendev.org/x/pyghmi synced 2026-04-09 19:41:29 +00:00

Remove stale setting of health attribute.

A contributor made a change, but neglected to remove the stale line they
were replacing.

Change-Id: Id8c4cecc64792681192f749890eb53a063ff6f15
This commit is contained in:
Jarrod Johnson
2026-02-05 08:00:17 -05:00
parent 2071bb236c
commit 28ffba50b1

View File

@@ -123,7 +123,6 @@ class SensorReading(object):
'Status', {}).get('Health', None), const.Health.Warning)
self.states = [healthinfo.get('Status', {}).get('Health',
'Unknown')]
self.health = _healthmap[healthinfo['Status']['Health']]
if self.health == const.Health.Ok:
self.states = []
self.value = value