From 46ab9dff7d7bbedee5796aea41d2f524360fc385 Mon Sep 17 00:00:00 2001 From: shitian-ni Date: Sat, 18 Dec 2021 04:16:42 +0900 Subject: [PATCH] grpc: minor improvement on WithInsecure() document --- 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) {