Revision 785d142e
b/lib/cmdlib.py | ||
---|---|---|
1603 | 1603 |
test = msg and not res.offline |
1604 | 1604 |
self._ErrorIf(test, self.ENODEHOOKS, node_name, |
1605 | 1605 |
"Communication failure in hooks execution: %s", msg) |
1606 |
if test: |
|
1606 |
if res.offline: |
|
1607 |
# No need to investigate payload if node is offline. |
|
1607 | 1608 |
# override manually lu_result here as _ErrorIf only |
1608 | 1609 |
# overrides self.bad |
1609 | 1610 |
lu_result = 1 |
Also available in: Unified diff