Skip to content

Commit 0875ba9

Browse files
vmalaviya-splunkakaila-splunk
authored andcommitted
Update README.md
1 parent ae817d9 commit 0875ba9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class CustomStreamingCommand(StreamingCommand):
161161
def stream(self, records):
162162
for index, record in enumerate(records):
163163
if index % 1 == 0:
164-
self.add_field(record, "odd_record", "true")
164+
record = self.add_field(record, "odd_record", "true")
165165
yield record
166166
```
167167

0 commit comments

Comments
 (0)