diff --git a/d2/src/main/java/com/linkedin/d2/balancer/dualread/DualReadLoadBalancer.java b/d2/src/main/java/com/linkedin/d2/balancer/dualread/DualReadLoadBalancer.java index 0c505a9d52..0dfbc5e22d 100644 --- a/d2/src/main/java/com/linkedin/d2/balancer/dualread/DualReadLoadBalancer.java +++ b/d2/src/main/java/com/linkedin/d2/balancer/dualread/DualReadLoadBalancer.java @@ -78,7 +78,7 @@ public DualReadLoadBalancer(LoadBalancerWithFacilities oldLb, LoadBalancerWithFa _newLb = newLb; _dualReadStateManager = dualReadStateManager; _isNewLbReady = false; - if(newLbExecutor == null) + if (newLbExecutor == null) { // Using a direct executor here means the code is executed directly, // blocking the caller. This means the old behavior is preserved.