Skip to content

Commit

Permalink
grpc: minor improvement on WithInsecure() document (#5068)
Browse files Browse the repository at this point in the history
  • Loading branch information
shitian-ni committed Dec 22, 2021
1 parent 7506755 commit 8ae11f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialoptions.go
Expand Up @@ -304,7 +304,7 @@ func WithReturnConnectionError() DialOption {
// WithCredentialsBundle or WithPerRPCCredentials) which require transport
// security is incompatible and will cause grpc.Dial() to fail.
//
// Deprecated: use insecure.NewCredentials() instead.
// Deprecated: use WithTransportCredentials and insecure.NewCredentials() instead.
// Will be supported throughout 1.x.
func WithInsecure() DialOption {
return newFuncDialOption(func(o *dialOptions) {
Expand Down

0 comments on commit 8ae11f4

Please sign in to comment.