Skip to content

Commit

Permalink
FIX calling the right source overloaded method (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcorne authored and gluck committed Mar 12, 2018
1 parent bd758cf commit ca495ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class TestExportTask extends Exec {
}
String id = sha1Hashed(it.getClassname() + it.getName() + it.timestamp)
IndexRequest indexObj = new IndexRequest(index, typeFinal, id)
processor.add(indexObj.source(XContentType.JSON, output))
processor.add(indexObj.source(output, XContentType.JSON))
}
}

Expand Down

0 comments on commit ca495ef

Please sign in to comment.