From 8ae11f46222d4e470b7ecac5df2947da0bfbf01c Mon Sep 17 00:00:00 2001 From: Shitian Ni Date: Thu, 23 Dec 2021 04:34:33 +0900 Subject: [PATCH] grpc: minor improvement on WithInsecure() document (#5068) --- dialoptions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialoptions.go b/dialoptions.go index 063f1e903c0..fe2f560d424 100644 --- a/dialoptions.go +++ b/dialoptions.go @@ -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) {