2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00

Fix nodeeventlog on ipmi devices

Changes for redfish broke against ipmi plugin
This commit is contained in:
Jarrod Johnson 2019-05-02 10:21:24 -04:00
parent a6809aae98
commit ba039e9e3e

View File

@ -77,7 +77,10 @@ def format_event(evt):
pass
dscparts.append(evttext)
retparts.append(' - '.join(dscparts))
return ' '.join(retparts) + evt.get('message', '')
msg = evt.get('message')
if not msg:
msg = ''
return ' '.join(retparts) + msg
if deletemode: