mirror of
https://github.com/xcat2/confluent.git
synced 2026-01-11 18:42:29 +00:00
Fix states of absent PSU in NX-API
This commit is contained in:
@@ -62,7 +62,7 @@ def add_sensedata(component, sensedata, name=None):
|
||||
senseinfo['states'] = ['Present']
|
||||
if attrs['operSt'] == 'empty':
|
||||
senseinfo['health'] = 'critical'
|
||||
senseinfo['states'] = 'Absent'
|
||||
senseinfo['states'] = ['Absent']
|
||||
if senseinfo:
|
||||
sensedata.append(senseinfo)
|
||||
for key in component:
|
||||
|
||||
Reference in New Issue
Block a user