Commit c6d43e9e authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpDestroyCluster and LUDestroyCluster


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 2f093ea0
......@@ -166,7 +166,7 @@ def DestroyCluster(opts, args):
" destroy this cluster, supply the --yes-do-it option.")
return 1
op = opcodes.OpDestroyCluster()
op = opcodes.OpClusterDestroy()
master = SubmitOpCode(op, opts=opts)
# if we reached this, the opcode didn't fail; we can proceed to
# shutdown all the daemons
......
......@@ -1111,7 +1111,7 @@ class LUPostInitCluster(LogicalUnit):
return True
class LUDestroyCluster(LogicalUnit):
class LUClusterDestroy(LogicalUnit):
"""Logical unit for destroying the cluster.
"""
......
......@@ -381,7 +381,7 @@ class OpPostInitCluster(OpCode):
OP_ID = "OP_CLUSTER_POST_INIT"
class OpDestroyCluster(OpCode):
class OpClusterDestroy(OpCode):
"""Destroy the cluster.
This opcode has no other parameters. All the state is irreversibly
......
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