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

Rename OpQueryClusterInfo and LUQueryClusterInfo


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent bc84ffa7
...@@ -4516,7 +4516,7 @@ class LUPowercycleNode(NoHooksLU): ...@@ -4516,7 +4516,7 @@ class LUPowercycleNode(NoHooksLU):
return result.payload return result.payload
class LUQueryClusterInfo(NoHooksLU): class LUClusterQuery(NoHooksLU):
"""Query cluster configuration. """Query cluster configuration.
""" """
......
...@@ -391,7 +391,7 @@ class OpClusterDestroy(OpCode): ...@@ -391,7 +391,7 @@ class OpClusterDestroy(OpCode):
OP_ID = "OP_CLUSTER_DESTROY" OP_ID = "OP_CLUSTER_DESTROY"
class OpQueryClusterInfo(OpCode): class OpClusterQuery(OpCode):
"""Query cluster information.""" """Query cluster information."""
OP_ID = "OP_CLUSTER_QUERY" OP_ID = "OP_CLUSTER_QUERY"
......
...@@ -318,7 +318,7 @@ class ClientOps: ...@@ -318,7 +318,7 @@ class ClientOps:
elif method == luxi.REQ_QUERY_CLUSTER_INFO: elif method == luxi.REQ_QUERY_CLUSTER_INFO:
logging.info("Received cluster info query request") logging.info("Received cluster info query request")
op = opcodes.OpQueryClusterInfo() op = opcodes.OpClusterQuery()
return self._Query(op) return self._Query(op)
elif method == luxi.REQ_QUERY_TAGS: elif method == luxi.REQ_QUERY_TAGS:
......
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