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

Rename OpPostInitCluster and LUPostInitCluster


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent c6d43e9e
......@@ -145,7 +145,7 @@ def InitCluster(opts, args):
primary_ip_version=primary_ip_version,
prealloc_wipe_disks=opts.prealloc_wipe_disks,
)
op = opcodes.OpPostInitCluster()
op = opcodes.OpClusterPostInit()
SubmitOpCode(op, opts=opts)
return 0
......
......@@ -1089,7 +1089,7 @@ def _CheckIAllocatorOrNode(lu, iallocator_slot, node_slot):
" iallocator.")
class LUPostInitCluster(LogicalUnit):
class LUClusterPostInit(LogicalUnit):
"""Logical unit for running hooks after cluster initialization.
"""
......
......@@ -371,7 +371,7 @@ class OpCode(BaseOpCode):
# cluster opcodes
class OpPostInitCluster(OpCode):
class OpClusterPostInit(OpCode):
"""Post cluster initialization.
This opcode does not touch the cluster at all. Its purpose is to run hooks
......
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