Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.1.1 (March 25, 2022)
* Fixed input metadata for behavior `Emit Batch`

## 3.1.0 (March 3, 2022)
* Added `Emit Batch` behavior for `Read CSV attachment` action

Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form",
"docsUrl": "https://github.com/elasticio/csv-component",
"buildType": "docker",
"version": "3.1.0",
"version": "3.1.1",
"actions": {
"read_action": {
"main": "./lib/actions/read.js",
Expand Down
2 changes: 1 addition & 1 deletion lib/actions/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports.getMetaModel = async function getMetaModel(cfg) {
out: {}
};

if (cfg.emitBehavior === 'emitBatch') {
if (cfg.emitAll === 'emitBatch') {
meta.in.properties.batchSize = {
title: 'Batch Size',
type: 'number',
Expand Down