Post individual JSONs instead of the whole list

Change-Id: I5114222c1ead7858c0ed9ddafe7c23496608a6c6
This commit is contained in:
Mariusz Karpiarz 2022-10-28 16:20:36 +01:00
parent 78dbc8b09f
commit 704fa74e78

View File

@ -159,7 +159,7 @@ class HttpPublisher(publisher.ConfigPublisherBase):
def _individual_post(self, data):
for d in data:
self._do_post(json.dumps(data))
self._do_post(json.dumps(d))
def _batch_post(self, data):
if not data: