mirror of https://github.com/grpc/grpc-node.git
Remove extraneous line of code
This commit is contained in:
parent
c5428c5733
commit
4f55a83b67
|
|
@ -263,7 +263,6 @@ export class Subchannel {
|
||||||
this.credentials._getConnectionOptions() || {};
|
this.credentials._getConnectionOptions() || {};
|
||||||
let addressScheme = 'http://';
|
let addressScheme = 'http://';
|
||||||
if ('secureContext' in connectionOptions) {
|
if ('secureContext' in connectionOptions) {
|
||||||
connectionOptions.protocol = 'https:';
|
|
||||||
addressScheme = 'https://';
|
addressScheme = 'https://';
|
||||||
// If provided, the value of grpc.ssl_target_name_override should be used
|
// If provided, the value of grpc.ssl_target_name_override should be used
|
||||||
// to override the target hostname when checking server identity.
|
// to override the target hostname when checking server identity.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue