Skip to content

Commit

Permalink
run spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
bugmakerrrrrr committed Nov 21, 2023
1 parent b931f3c commit 2f962ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public AllocationDeciders createRejectRemoteAllocationDeciders(boolean throttle)
@Override
public Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation) {
if (RoutingPool.REMOTE_CAPABLE.equals(RoutingPool.getShardPool(shardRouting, allocation))) {
return throttle? Decision.THROTTLE : Decision.NO;
return throttle ? Decision.THROTTLE : Decision.NO;
} else {
return Decision.ALWAYS;
}
Expand Down

0 comments on commit 2f962ba

Please sign in to comment.