diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index e4fde6c6..81fb878d 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -741,7 +741,10 @@ def _assemble_json(responses, resource=None, url=None, extension=None): for dk in rsp.iterkeys(): if dk in rspdata: if isinstance(rspdata[dk], list): - rspdata[dk].append(rsp[dk]) + if isinstance(rsp[dk], list): + rspdata[dk].extend(rsp[dk]) + else: + rspdata[dk].append(rsp[dk]) else: rspdata[dk] = [rspdata[dk], rsp[dk]] else: