Browse Source

apply coding style

Shelikhoo 4 years ago
parent
commit
fb6e449572
1 changed files with 1 additions and 1 deletions
  1. 1 1
      transport/internet/grpc/dial.go

+ 1 - 1
transport/internet/grpc/dial.go

@@ -71,7 +71,7 @@ func getGrpcClient(ctx context.Context, dest net.Destination, dialOption grpc.Di
 		globalDialerMap = make(map[net.Destination]*grpc.ClientConn)
 		globalDialerMap = make(map[net.Destination]*grpc.ClientConn)
 	}
 	}
 
 
-	//TODO Should support chain proxy to the same destination
+	// TODO Should support chain proxy to the same destination
 	if client, found := globalDialerMap[dest]; found && client.GetState() != connectivity.Shutdown {
 	if client, found := globalDialerMap[dest]; found && client.GetState() != connectivity.Shutdown {
 		return client, nil
 		return client, nil
 	}
 	}