makelint internal/ (#1951)

Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
This commit is contained in:
xuan
2024-02-25 22:23:29 +08:00
committed by GitHub
parent 3c1d096e99
commit b13f2614b8
6 changed files with 78 additions and 77 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ func StartTransfer(prometheusPort int) error {
return err
}
if err := client.CreateRpcRootNodes(config.Config.GetServiceNames()); err != nil {
if err2 := client.CreateRpcRootNodes(config.Config.GetServiceNames()); err2 != nil {
return err
}
client.AddOption(mw.GrpcClient(), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(fmt.Sprintf(`{"LoadBalancingPolicy": "%s"}`, "round_robin")))