From 1e9e515e653def23d4569f49e1fb07e4e92cb7fa Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Tue, 8 Oct 2019 02:22:15 -0400 Subject: [PATCH] peer TLS updates Signed-off-by: Evan Hazlett --- client/client.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/client.go b/client/client.go index 3125d45..fcfabfe 100644 --- a/client/client.go +++ b/client/client.go @@ -28,7 +28,6 @@ import ( "net/url" "time" - "github.com/sirupsen/logrus" "github.com/stellarproject/heimdall" v1 "github.com/stellarproject/heimdall/api/v1" "google.golang.org/grpc" @@ -102,10 +101,8 @@ func (c *Client) Close() error { func DialOptionsFromConfig(cfg *heimdall.Config) ([]grpc.DialOption, error) { opts := []grpc.DialOption{} if cfg.TLSClientCertificate != "" { - logrus.WithField("cert", cfg.TLSClientCertificate).Debug("configuring TLS cert") var creds credentials.TransportCredentials if cfg.TLSClientKey != "" { - logrus.WithField("key", cfg.TLSClientKey).Debug("configuring TLS key") cert, err := tls.LoadX509KeyPair(cfg.TLSClientCertificate, cfg.TLSClientKey) if err != nil { return nil, err