Skip to content

Commit

Permalink
Fixed upgrade redis
Browse files Browse the repository at this point in the history
  • Loading branch information
LyricTian committed Jun 13, 2019
1 parent 50a8b74 commit d1804af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion options.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package redis

import (
"context"
"crypto/tls"
"net"
"time"
Expand All @@ -18,7 +19,7 @@ type Options struct {

// Dialer creates new network connection and has priority over
// Network and Addr options.
Dialer func() (net.Conn, error)
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)

// Optional password. Must match the password specified in the
// requirepass server configuration option.
Expand Down

0 comments on commit d1804af

Please sign in to comment.