Merge "[Trivial fix]Remove unnecessary slash"

This commit is contained in:
Zuul 2019-05-07 02:15:35 +00:00 committed by Gerrit Code Review
commit 677c9c581a
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ class IndexCommands(object):
plugins_reindex = [
doc_type for doc_type, plugin in es_reindex.items()
if plugin.resource_group_name == group]
alias_search = \
[a for a in resource_groups if a[0] == group][0][1]
alias_search = [a for a in resource_groups if a[0] == group][0][1]
LOG.info("ES Reindex start from %(src)s to %(dst)s "
"for types %(types)s" %
{'src': alias_search, 'dst': index_names[group],