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:
parent
f8b18df786
commit
8dc03b9aca
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue