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

Rename OpQueryGroups and LUQueryGroups


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 934704ae
......@@ -10166,7 +10166,7 @@ class _GroupQuery(_QueryBase):
group_to_nodes, group_to_instances)
class LUQueryGroups(NoHooksLU):
class LUGroupQuery(NoHooksLU):
"""Logical unit for querying node groups.
"""
......
......@@ -1038,7 +1038,7 @@ class OpGroupAssignNodes(OpCode):
]
class OpQueryGroups(OpCode):
class OpGroupQuery(OpCode):
"""Compute the list of node groups."""
OP_ID = "OP_GROUP_QUERY"
OP_PARAMS = [
......
......@@ -298,7 +298,7 @@ class ClientOps:
if use_locking:
raise errors.OpPrereqError("Sync queries are not allowed",
errors.ECODE_INVAL)
op = opcodes.OpQueryGroups(names=names, output_fields=fields)
op = opcodes.OpGroupQuery(names=names, output_fields=fields)
return self._Query(op)
elif method == luxi.REQ_QUERY_EXPORTS:
......
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