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

Rename OpRenameCluster and LURenameCluster


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent d1240007
......@@ -198,7 +198,7 @@ def RenameCluster(opts, args):
if not AskUser(usertext):
return 1
op = opcodes.OpRenameCluster(name=new_name)
op = opcodes.OpClusterRename(name=new_name)
result = SubmitOpCode(op, opts=opts, cl=cl)
if result:
......
......@@ -2571,7 +2571,7 @@ class LURepairDiskSizes(NoHooksLU):
return changed
class LURenameCluster(LogicalUnit):
class LUClusterRename(LogicalUnit):
"""Rename the cluster.
"""
......
......@@ -470,7 +470,7 @@ class OpClusterConfigQuery(OpCode):
]
class OpRenameCluster(OpCode):
class OpClusterRename(OpCode):
"""Rename the cluster.
@type name: C{str}
......
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