Skip to content

Commit 99b3322

Browse files
authored
Merge branch 'main' into sorting_on_range_fields_throws_400_doc
2 parents cc3c28c + 5b9b033 commit 99b3322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/ilm/action/TransportRetryAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected void masterOperation(
8080
submitUnbatchedTask("ilm-re-run", new AckedClusterStateUpdateTask(request, listener) {
8181
@Override
8282
public ClusterState execute(ClusterState currentState) {
83-
final var project = state.metadata().getProject(projectState.projectId());
83+
final var project = currentState.metadata().getProject(projectState.projectId());
8484
final var updatedProject = indexLifecycleService.moveIndicesToPreviouslyFailedStep(project, request.indices());
8585
return ClusterState.builder(currentState).putProjectMetadata(updatedProject).build();
8686
}

0 commit comments

Comments
 (0)