Skip to content

Commit

Permalink
dialoptions.go: Fix WithBlock godoc (#5073)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreene570 authored Dec 23, 2021
1 parent 78df8ec commit 4d58dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialoptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func withBackoff(bs internalbackoff.Strategy) DialOption {
})
}

// WithBlock returns a DialOption which makes caller of Dial blocks until the
// WithBlock returns a DialOption which makes callers of Dial block until the
// underlying connection is up. Without this, Dial returns immediately and
// connecting the server happens in background.
func WithBlock() DialOption {
Expand Down

0 comments on commit 4d58dd9

Please sign in to comment.