Commit 8ed55bfd authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpQueryNodeVolumes and LUQueryNodeVolumes


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 2237687b
......@@ -527,7 +527,7 @@ def ListVolumes(opts, args):
"""
selected_fields = ParseFields(opts.output, _LIST_VOL_DEF_FIELDS)
op = opcodes.OpQueryNodeVolumes(nodes=args, output_fields=selected_fields)
op = opcodes.OpNodeQueryvols(nodes=args, output_fields=selected_fields)
output = SubmitOpCode(op, opts=opts)
if not opts.no_headers:
......
......@@ -3616,7 +3616,7 @@ class LUNodeQuery(NoHooksLU):
return self.nq.OldStyleQuery(self)
class LUQueryNodeVolumes(NoHooksLU):
class LUNodeQueryvols(NoHooksLU):
"""Logical unit for getting volumes on node(s).
"""
......
......@@ -648,7 +648,7 @@ class OpNodeQuery(OpCode):
]
class OpQueryNodeVolumes(OpCode):
class OpNodeQueryvols(OpCode):
"""Get list of volumes on node."""
OP_ID = "OP_NODE_QUERYVOLS"
OP_PARAMS = [
......
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