Skip to content

Commit

Permalink
grpc: minor improvement on WithInsecure() document
Browse files Browse the repository at this point in the history
  • Loading branch information
shitian-ni committed Dec 17, 2021
1 parent 51835dc commit 46ab9df
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 @@ -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 46ab9df

Please sign in to comment.