Commit 6d8b6238 authored by Guido Trotter's avatar Guido Trotter
Browse files

raise QuitGanetiException in LeaveCluster

Reviewed-by: iustinp
parent c3d7f69b
......@@ -139,6 +139,9 @@ def LeaveCluster():
utils.RemoveFile(priv_key)
utils.RemoveFile(pub_key)
# Return a reassuring string to the caller, and quit
raise errors.QuitGanetiException(False, 'Shutdown scheduled')
def GetNodeInfo(vgname):
"""Gives back a hash with different informations about the node.
......
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