Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
Signed-off-by: Maxwell Brown <[email protected]>
  • Loading branch information
Galactus22625 committed Jan 6, 2025
1 parent 2ab0612 commit 0f5e6f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,8 @@ public void testOpenSearchBulkActionsCreateWithExpression() throws IOException,
Map<String, Object> metadata = initializeConfigurationMetadata(null, testIndexAlias, testTemplateFile);
metadata.put(IndexConfiguration.DOCUMENT_ID_FIELD, testIdField);
Event event = (Event) testRecords.get(0).getData();
event.getMetadata().setAttribute("action", "create");metadata.put(IndexConfiguration.ACTION, "create");
event.getMetadata().setAttribute("action", "create");
metadata.put(IndexConfiguration.ACTION, "create");
final OpenSearchSinkConfig openSearchSinkConfig = generateOpenSearchSinkConfigByMetadata(metadata);
final OpenSearchSink sink = createObjectUnderTest(openSearchSinkConfig, true);
sink.output(testRecords);
Expand Down

0 comments on commit 0f5e6f1

Please sign in to comment.