Merge "Fix requirepass problem with redis"

This commit is contained in:
Zuul 2017-10-27 17:09:47 +00:00 committed by Gerrit Code Review
commit 249ec84f2e

View File

@ -166,6 +166,9 @@ class RedisApp(object):
args_string = self._join_lists( args_string = self._join_lists(
self._value_converter.to_strings(prop_args), ' ') self._value_converter.to_strings(prop_args), ' ')
client.config_set(prop_name, args_string) client.config_set(prop_name, args_string)
self.admin = self._build_admin_client()
self.status = RedisAppStatus(self.admin)
client = self.admin
def _join_lists(self, items, sep): def _join_lists(self, items, sep):
"""Join list items (including items from sub-lists) into a string. """Join list items (including items from sub-lists) into a string.