grpc: minor improvement on WithInsecure() document (#5068)

This commit is contained in:
Shitian Ni
2021-12-23 04:34:33 +09:00
committed by GitHub
parent 7506755eb1
commit 8ae11f4622

View File

@ -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) {