diff --git a/confluent_server/confluent/plugins/hardwaremanagement/redfish.py b/confluent_server/confluent/plugins/hardwaremanagement/redfish.py index cb62de95..5f8e3bc5 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/redfish.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/redfish.py @@ -175,7 +175,7 @@ class IpmiCommandWrapper(ipmicommand.Command): raise exc.TargetEndpointUnreachable(se.strerror) else: raise exc.TargetEndpointUnreachable(str(se)) - if isinstance(se, socket.timeout) or (len(se) > 1 and se[1] == 'EHOSTUNREACH'): + if isinstance(se, socket.timeout): raise exc.TargetEndpointUnreachable('timeout') raise except pygexc.PyghmiException as pe: