提交 5621c3b2 编写于 作者: wu-sheng's avatar wu-sheng

Fix a comma.

上级 d960b80f
......@@ -51,7 +51,7 @@ public class GRPCChannelManager implements BootService, Runnable {
public void run() {
while (true) {
if (RemoteDownstreamConfig.Collector.GRPC_SERVERS.size() > 0) {
int index = random.nextInt() % RemoteDownstreamConfig.Collector.GRPC_SERVERS.size()
int index = random.nextInt() % RemoteDownstreamConfig.Collector.GRPC_SERVERS.size();
String server = RemoteDownstreamConfig.Collector.GRPC_SERVERS.get(index);
try {
String[] ipAndPort = server.split(":");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册