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:
parent
a6809aae98
commit
ba039e9e3e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user