Skip to content

Commit

Permalink
fix test ingestor path
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay288 committed Aug 8, 2022
1 parent 49aec28 commit 358c0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingestors/test_data/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def run(backend):
print(f'Producer {k} emitted {len(data_points)} data points.')
if not data_points:
continue
path = '/log-request/single' if len(data_points) == 1 else '/log-request/batch'
path = '/api/v1/log-request/single' if len(data_points) == 1 else '/api/v1/log-request/batch'
body = data_points[0] if len(data_points) == 1 else data_points
requests.post(urljoin(backend, path), json=body)

Expand Down

0 comments on commit 358c0f3

Please sign in to comment.