redis: fix CLIENT_LIST_ARGS parsing

The entire list must be taken, not only the last argument.

Change-Id: I9b5b9336250cb5292cdd6c7ca4964bfe186575d5
Closes-Bug: #1691542
This commit is contained in:
Julien Danjou 2017-05-17 23:31:28 +02:00
parent f8b18df786
commit 8dc03b9aca
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ def get_client(conf):
if a in CLIENT_BOOL_ARGS:
v = utils.strtobool(options[a][-1])
elif a in CLIENT_LIST_ARGS:
v = options[a][-1]
v = options[a]
elif a in CLIENT_INT_ARGS:
v = int(options[a][-1])
else: