Skip to content

Commit

Permalink
Fix spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Rishab Nahata <rnnahata@amazon.com>
  • Loading branch information
imRishN committed Sep 2, 2024
1 parent d09b40d commit a8717d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ private void failAllocationOfNewPrimaries(RoutingAllocation allocation) {
}

private void scheduleRerouteIfAllocatorTimedOut() {
if(allocatorTimedOut()) {
if (allocatorTimedOut()) {
if (rerouteService == null) {
logger.info("RerouteService not set to schedule reroute after allocator time out");
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,5 @@ public interface ShardsAllocator {
*/
ShardAllocationDecision decideShardAllocation(ShardRouting shard, RoutingAllocation allocation);

default void setRerouteService(RerouteService rerouteService) {
}
default void setRerouteService(RerouteService rerouteService) {}
}

0 comments on commit a8717d9

Please sign in to comment.