mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-06-13 03:10:44 +00:00
apply coding style
This commit is contained in:
parent
7b721e1a6f
commit
fb6e449572
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user