Skip to content

Commit

Permalink
Remove redundant call
Browse files Browse the repository at this point in the history
  • Loading branch information
muralibasani committed Aug 6, 2024
1 parent f454235 commit ac83525
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private void ensureIndexOrDataStreamExists(final String index) {
LOGGER.info("Create data stream and template {}", index);
client.createIndexTemplateAndDataStream(userProvidedTemplate,
config.dataStreamTimestampField());
} else if (client.dataStreamIndexTemplateExists(userProvidedTemplate)) {
} else {
LOGGER.info("Do not create data stream and template {}", index);
}
} else {
Expand Down

0 comments on commit ac83525

Please sign in to comment.