From 4f55a83b670c10507d73fb3d81efd65fc1028310 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Wed, 29 Jan 2020 10:21:47 -0800 Subject: [PATCH] Remove extraneous line of code --- packages/grpc-js/src/subchannel.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/grpc-js/src/subchannel.ts b/packages/grpc-js/src/subchannel.ts index ae6f206b..b03205c7 100644 --- a/packages/grpc-js/src/subchannel.ts +++ b/packages/grpc-js/src/subchannel.ts @@ -263,7 +263,6 @@ export class Subchannel { this.credentials._getConnectionOptions() || {}; let addressScheme = 'http://'; if ('secureContext' in connectionOptions) { - connectionOptions.protocol = 'https:'; addressScheme = 'https://'; // If provided, the value of grpc.ssl_target_name_override should be used // to override the target hostname when checking server identity.