Commit 6ef2dc74 authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

HooksMaster: document raised exception



HooksAbort is raised, but not documented.
Signed-off-by: default avatarLuca Bigliardi <shammash@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 17e82923
......@@ -343,6 +343,7 @@ class HooksMaster(object):
@param nodes: overrides the predefined list of nodes for the given phase
@return: the processed results of the hooks multi-node rpc call
@raise errors.HooksFailure: on communication failure to the nodes
@raise errors.HooksAbort: on failure of one of the hooks
"""
if not self.node_list[phase] and not nodes:
......
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