Skip to content

Commit

Permalink
delete unuseful code (envoyproxy#254)
Browse files Browse the repository at this point in the history
Signed-off-by: devincd <[email protected]>
  • Loading branch information
devincd authored and timcovar committed Jan 16, 2024
1 parent 8468d81 commit ed1605f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/redis/driver_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ed1605f

Please sign in to comment.