diff --git a/src/redis/driver_impl.go b/src/redis/driver_impl.go index 18e213f1..f6449ea5 100644 --- a/src/redis/driver_impl.go +++ b/src/redis/driver_impl.go @@ -59,14 +59,10 @@ func NewClientImpl(scope stats.Scope, useTls bool, auth string, redisType string df := func(network, addr string) (radix.Conn, error) { var dialOpts []radix.DialOpt - var err error if useTls { dialOpts = append(dialOpts, radix.DialUseTLS(&tls.Config{})) } - if err != nil { - return nil, err - } if auth != "" { logger.Warnf("enabling authentication to redis on %s", url)