From 2f962ba1c510b1c7366e5ec3af30d6f975901b42 Mon Sep 17 00:00:00 2001 From: panguixin Date: Tue, 21 Nov 2023 23:15:09 +0800 Subject: [PATCH] run spotless --- .../routing/allocation/RemoteShardsBalancerBaseTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/opensearch/cluster/routing/allocation/RemoteShardsBalancerBaseTestCase.java b/server/src/test/java/org/opensearch/cluster/routing/allocation/RemoteShardsBalancerBaseTestCase.java index e015a06ab3ed6..a1db6cd83ab6c 100644 --- a/server/src/test/java/org/opensearch/cluster/routing/allocation/RemoteShardsBalancerBaseTestCase.java +++ b/server/src/test/java/org/opensearch/cluster/routing/allocation/RemoteShardsBalancerBaseTestCase.java @@ -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; }