Revision 510f672f

b/lib/cmdlib/cluster.py
3249 3249
        test = msg and not res.offline
3250 3250
        self._ErrorIf(test, constants.CV_ENODEHOOKS, node_name,
3251 3251
                      "Communication failure in hooks execution: %s", msg)
3252
        if res.offline or msg:
3253
          # No need to investigate payload if node is offline or gave
3254
          # an error.
3252
        if test:
3253
          lu_result = False
3254
          continue
3255
        if res.offline:
3256
          # No need to investigate payload if node is offline
3255 3257
          continue
3256 3258
        for script, hkr, output in res.payload:
3257 3259
          test = hkr == constants.HKR_FAIL

Also available in: Unified diff