Merge pull request #2470 from murgatroid99/grpc-js_transport_trace_fix

grpc-js: Implement trace function in Http2SubchannelConnector
This commit is contained in:
Michael Lumish 2023-06-20 16:03:42 -07:00 committed by GitHub
commit 09d74ca43d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@grpc/grpc-js",
"version": "1.8.15",
"version": "1.8.16",
"description": "gRPC Library for Node - pure JS implementation",
"homepage": "https://grpc.io/",
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",

View File

@ -485,7 +485,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
private isShutdown = false;
constructor(private channelTarget: GrpcUri) {}
private trace(text: string) {
logging.trace(LogVerbosity.DEBUG, TRACER_NAME, this.channelTarget + ' ' + text);
}
private createSession(address: SubchannelAddress, credentials: ChannelCredentials, options: ChannelOptions, proxyConnectionResult: ProxyConnectionResult): Promise<Http2Transport> {
if (this.isShutdown) {