From: Luca Bigliardi Date: Tue, 25 Aug 2009 10:22:33 +0000 (+0100) Subject: HooksMaster: document raised exception X-Git-Tag: v2.1.0beta0~312 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/6ef2dc74fe9cba25c252fa0fd9dc413569286dfb HooksMaster: document raised exception HooksAbort is raised, but not documented. Signed-off-by: Luca Bigliardi Reviewed-by: Iustin Pop --- diff --git a/lib/mcpu.py b/lib/mcpu.py index 72e9b03..5ee50fa 100644 --- a/lib/mcpu.py +++ b/lib/mcpu.py @@ -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: