Post individual JSONs instead of the whole list
Change-Id: I5114222c1ead7858c0ed9ddafe7c23496608a6c6
This commit is contained in:
parent
78dbc8b09f
commit
704fa74e78
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user