Skip to content

Commit 42dd895

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 27f905c commit 42dd895

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/main/java/org/elasticsearch/indices/cluster/IndicesClusterStateService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,8 @@ private void createShard(ShardRouting shardRouting, ClusterState state) {
703703
return;
704704
}
705705
} else if (shardRouting.recoverySource().getType() == Type.RESHARD_SPLIT_TARGET) {
706-
ShardId sourceShardId = ((RecoverySource.ReshardSplitTargetRecoverySource) shardRouting.recoverySource()).getSourceShardId();
706+
ShardId sourceShardId = ((RecoverySource.ReshardSplitTargetRecoverySource) shardRouting.recoverySource())
707+
.getSourceShardId();
707708
sourceNode = findSourceNodeForSplitTargetRecovery(state.routingTable(project.id()), state.nodes(), sourceShardId);
708709
if (sourceNode == null) {
709710
logger.trace("ignoring initializing reshard target shard {} - no source node can be found.", shardId);

0 commit comments

Comments
 (0)