Skip to content

Commit

Permalink
[CI] Auto commit changes from spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticsearchmachine committed Jan 15, 2025
1 parent 77243a6 commit d61e784
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ public record AddIndexBlockClusterStateUpdateRequest(
TimeValue masterNodeTimeout,
TimeValue ackTimeout,
APIBlock block,
boolean markVerified, long taskId,
boolean markVerified,
long taskId,
Index[] indices
) {
public AddIndexBlockClusterStateUpdateRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ public boolean markVerified() {
return markVerified;
}

public AddIndexBlockRequest markVerified(boolean markVerified) {
public AddIndexBlockRequest markVerified(boolean markVerified) {
this.markVerified = markVerified;
return this;
}

/**
* Returns the block to be added
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,10 @@ public void taskSucceeded(AddBlocksTask task, Map<Index, ClusterBlock> blockedIn
task.request,
blockedIndices,
verifyResults,
task.request().markVerified() && clusterService.state()
.getMinTransportVersion()
.onOrAfter(TransportVersions.ADD_INDEX_BLOCK_TWO_PHASE),
task.request().markVerified()
&& clusterService.state()
.getMinTransportVersion()
.onOrAfter(TransportVersions.ADD_INDEX_BLOCK_TWO_PHASE),
delegate2
),
null
Expand Down

0 comments on commit d61e784

Please sign in to comment.