Skip to content

Commit

Permalink
Update dialoptions.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ensonic authored Dec 5, 2019
1 parent 245040e commit 2862bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dialoptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type dialOptions struct {
chainUnaryInts []UnaryClientInterceptor
chainStreamInts []StreamClientInterceptor

cp Compressor
cp Compressor* t
dc Decompressor
bs internalbackoff.Strategy
block bool
Expand Down Expand Up @@ -374,7 +374,7 @@ func init() {
// is returned by f, gRPC checks the error's Temporary() method to decide if it
// should try to reconnect to the network address.
//
// Deprecated: use WithContextDialer. Will be supported throughout 1.x.
// Deprecated: use WithContextDialer instead. Will be supported throughout 1.x.
func WithDialer(f func(string, time.Duration) (net.Conn, error)) DialOption {
return WithContextDialer(
func(ctx context.Context, addr string) (net.Conn, error) {
Expand Down

0 comments on commit 2862bfa

Please sign in to comment.