Skip to content

Commit

Permalink
Use Locale.US
Browse files Browse the repository at this point in the history
  • Loading branch information
kannanjgithub committed Jan 23, 2025
1 parent 64aba22 commit 5225d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xds/src/main/java/io/grpc/xds/ClusterImplLoadBalancer.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.atomic.AtomicLong;
Expand Down Expand Up @@ -406,7 +407,7 @@ public PickResult pickSubchannel(PickSubchannelArgs args) {
dropStats.recordDroppedRequest();
}
return PickResult.withDrop(Status.UNAVAILABLE.withDescription(
String.format("Cluster max concurrent requests limit of %d exceeded",
String.format(Locale.US, "Cluster max concurrent requests limit of %d exceeded",
maxConcurrentRequests)));
}
}
Expand Down

0 comments on commit 5225d09

Please sign in to comment.