From 28ffba50b155b58f3e8b7ec4f4ff1d0a5ab727f7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 5 Feb 2026 08:00:17 -0500 Subject: [PATCH] Remove stale setting of health attribute. A contributor made a change, but neglected to remove the stale line they were replacing. Change-Id: Id8c4cecc64792681192f749890eb53a063ff6f15 --- pyghmi/redfish/command.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 7d72ec31..847b647f 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -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