Skip to content

Commit

Permalink
chore: remove go1.7 and below support (#623)
Browse files Browse the repository at this point in the history
Remove go1.7 support which hasn't been maintained for a long time now.
  • Loading branch information
stevenh committed Jul 1, 2022
1 parent 95c091f commit 2c2a5c2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
2 changes: 1 addition & 1 deletion redis/conn.go
Expand Up @@ -246,7 +246,7 @@ func DialContext(ctx context.Context, network, address string, options ...DialOp
if do.tlsConfig == nil {
tlsConfig = &tls.Config{InsecureSkipVerify: do.skipVerify}
} else {
tlsConfig = cloneTLSConfig(do.tlsConfig)
tlsConfig = do.tlsConfig.Clone()
}
if tlsConfig.ServerName == "" {
host, _, err := net.SplitHostPort(address)
Expand Down
29 changes: 0 additions & 29 deletions redis/go17.go

This file was deleted.

9 changes: 0 additions & 9 deletions redis/go18.go

This file was deleted.

0 comments on commit 2c2a5c2

Please sign in to comment.