Skip to content

Commit

Permalink
Refactorings
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed May 14, 2024
1 parent ac31f7b commit 0f1ef56
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 923 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public BulkShardOperationInferenceProcessor(
@Override
public void apply(BulkShardRequest request, ClusterState clusterState, ActionListener<BulkShardRequest> listener) {

var indexMetadata = clusterState.getMetadata().index(request.shardId().getIndexName());
var indexMetadata = clusterState.metadata().index(request.shardId().getIndexName());
if (indexMetadata != null) {
var fieldInferenceMetadata = indexMetadata.getInferenceFields();
if (fieldInferenceMetadata.isEmpty() == false) {
Expand Down
Loading

0 comments on commit 0f1ef56

Please sign in to comment.