Skip to content

Commit

Permalink
Update dialoptions.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Apr 5, 2024
1 parent 4049a84 commit cce3000
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dialoptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,8 @@ func WithBlock() DialOption {
// Use of this feature is not recommended. For more information, please see:
// https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
//
// # Experimental
//
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
// later release.
//
// Deprecated: this DialOption is not supported by NewClient.
// Will be supported throughout 1.x.
func WithReturnConnectionError() DialOption {
return newFuncDialOption(func(o *dialOptions) {
o.block = true
Expand Down

0 comments on commit cce3000

Please sign in to comment.