Skip to content

Commit

Permalink
Removed an unnecessary method call (#1075)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Helma <chelma+github@amazon.com>
  • Loading branch information
chelma authored Oct 16, 2024
1 parent 1611682 commit d0a0b6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public CreationResult create(
}

log.info("Reattempting creation of index '" + index.getName() + "' after removing illegal arguments; " + illegalArguments);
client.createIndex(index.getName(), body, context).isPresent();
client.createIndex(index.getName(), body, context);
}
} catch (Exception e) {
result.failureType(CreationFailureType.TARGET_CLUSTER_FAILURE);
Expand Down

0 comments on commit d0a0b6f

Please sign in to comment.