Commit 715462e7 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpSearchTags and LUSearchTags


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 c6afb1ca
......@@ -578,7 +578,7 @@ def SearchTags(opts, args):
@return: the desired exit code
"""
op = opcodes.OpSearchTags(pattern=args[0])
op = opcodes.OpTagsSearch(pattern=args[0])
result = SubmitOpCode(op, opts=opts)
if not result:
return 1
......
......@@ -10433,7 +10433,7 @@ class LUTagsGet(TagsLU):
return list(self.target.GetTags())
class LUSearchTags(NoHooksLU):
class LUTagsSearch(NoHooksLU):
"""Searches the tags for a given pattern.
"""
......
......@@ -1167,7 +1167,7 @@ class OpTagsGet(OpCode):
]
class OpSearchTags(OpCode):
class OpTagsSearch(OpCode):
"""Searches the tags in the cluster for a given pattern."""
OP_ID = "OP_TAGS_SEARCH"
OP_DSC_FIELD = "pattern"
......
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