Skip to content

Commit 66c3804

Browse files
committed
Forgot to assign data
1 parent 957fcad commit 66c3804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/helpers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _chunk_actions(actions, chunk_size, max_chunk_bytes, serializer):
5555
bulk_actions, bulk_data = [], []
5656
size, action_count = 0, 0
5757
for action, data in actions:
58-
raw_data, raw_action = action
58+
raw_data, raw_action = data, action
5959
action = serializer.dumps(action)
6060
cur_size = len(action) + 1
6161

0 commit comments

Comments
 (0)