back err_name (#1976)

Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
This commit is contained in:
xuan
2024-03-04 11:18:38 +08:00
committed by GitHub
parent 57331182c2
commit 1ef26b29a7
11 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func StartTransfer(prometheusPort int) error {
return err
}
if err2 := client.CreateRpcRootNodes(config.Config.GetServiceNames()); err2 != nil {
if err := client.CreateRpcRootNodes(config.Config.GetServiceNames()); err != nil {
return err
}
client.AddOption(mw.GrpcClient(), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithDefaultServiceConfig(fmt.Sprintf(`{"LoadBalancingPolicy": "%s"}`, "round_robin")))