Commit d763bed0 authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

HooksMaster: fix RunPhase logging

In case of complete failure results is empty, return immediately
(tnx unittests).
Signed-off-by: default avatarLuca Bigliardi <>
Reviewed-by: default avatarIustin Pop <>
parent 3cb5c1e3
......@@ -364,6 +364,7 @@ class HooksMaster(object):
raise errors.HooksFailure(msg)
return results
for node_name in results:
res = results[node_name]
if res.offline:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment