mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Fix nodereseat false success message
nodereseat was reporting success when failure was actually encountered. Address by injecting the node specific error.
This commit is contained in:
parent
efd13c960f
commit
6588ac0990
@ -14,6 +14,7 @@
|
||||
import confluent.core as core
|
||||
import confluent.messages as msg
|
||||
import pyghmi.exceptions as pygexc
|
||||
import confluent.exceptions as exc
|
||||
|
||||
def update(nodes, element, configmanager, inputdata):
|
||||
emebs = configmanager.get_node_attributes(
|
||||
@ -36,3 +37,5 @@ def update(nodes, element, configmanager, inputdata):
|
||||
yield rsp
|
||||
except pygexc.UnsupportedFunctionality as uf:
|
||||
yield msg.ConfluentNodeError(node, str(uf))
|
||||
except exc.TargetEndpointUnreachable as uf:
|
||||
yield msg.ConfluentNodeError(node, str(uf))
|
||||
|
Loading…
Reference in New Issue
Block a user