Commit 2f093ea0 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpQueryConfigValues and LUQueryConfigValues


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent ca5890ad
......@@ -4582,7 +4582,7 @@ class LUQueryClusterInfo(NoHooksLU):
return result
class LUQueryConfigValues(NoHooksLU):
class LUClusterConfigQuery(NoHooksLU):
"""Return configuration values.
"""
......
......@@ -462,7 +462,7 @@ class OpRepairDiskSizes(OpCode):
]
class OpQueryConfigValues(OpCode):
class OpClusterConfigQuery(OpCode):
"""Query cluster configuration values."""
OP_ID = "OP_CLUSTER_CONFIG_QUERY"
OP_PARAMS = [
......
......@@ -313,7 +313,7 @@ class ClientOps:
elif method == luxi.REQ_QUERY_CONFIG_VALUES:
fields = args
logging.info("Received config values query request for %s", fields)
op = opcodes.OpQueryConfigValues(output_fields=fields)
op = opcodes.OpClusterConfigQuery(output_fields=fields)
return self._Query(op)
elif method == luxi.REQ_QUERY_CLUSTER_INFO:
......
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