File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ func initCerts() (*tls.Config, error) {
100100 tlsCfg := & tls.Config {
101101 ServerName : common .GetMLPipelineServiceName () + "." + common .GetPodNamespace () + ".svc.cluster.local" ,
102102 Certificates : []tls.Certificate {serverCert },
103- NextProtos : []string {"h2" , "http/1.1" },
104103 }
105104 glog .Info ("TLS cert key/pair loaded." )
106105 return tlsCfg , err
@@ -463,7 +462,6 @@ func registerHTTPHandlerFromEndpoint(handler RegisterHttpHandlerFromEndpoint, se
463462 endpoint := "localhost" + * rpcPortFlag
464463 opts := []grpc.DialOption {grpc .WithInsecure (), grpc .WithDefaultCallOptions (grpc .MaxCallRecvMsgSize (math .MaxInt32 ))}
465464 if tlsCfg != nil {
466- endpoint = "passthrough:///127.0.0.1" + * rpcPortFlag
467465 opts = []grpc.DialOption {
468466 grpc .WithTransportCredentials (credentials .NewTLS (tlsCfg )),
469467 grpc .WithDefaultCallOptions (grpc .MaxCallRecvMsgSize (math .MaxInt32 )),
You can’t perform that action at this time.
0 commit comments