Merge "Fix trove-guestagent startup for redis mangled config cmd"
This commit is contained in:
commit
b09d0eb313
@ -229,9 +229,10 @@ class RedisApp(object):
|
|||||||
"""Get current name of the 'CONFIG' command.
|
"""Get current name of the 'CONFIG' command.
|
||||||
"""
|
"""
|
||||||
renamed_cmds = self.configuration_manager.get_value('rename-command')
|
renamed_cmds = self.configuration_manager.get_value('rename-command')
|
||||||
for name_pair in renamed_cmds:
|
if renamed_cmds:
|
||||||
if name_pair[0] == 'CONFIG':
|
for name_pair in renamed_cmds:
|
||||||
return name_pair[1]
|
if name_pair[0] == 'CONFIG':
|
||||||
|
return name_pair[1]
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user