From 9ac7e3a34d714d3c43c64b70d171197c57455882 Mon Sep 17 00:00:00 2001 From: Jeffrey Duce Date: Thu, 7 Oct 2021 15:49:59 -0400 Subject: [PATCH] set value of creds instead of creating new variable (#263) --- cmd/grpcurl/grpcurl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/grpcurl/grpcurl.go b/cmd/grpcurl/grpcurl.go index 5f690b9..d5ec16d 100644 --- a/cmd/grpcurl/grpcurl.go +++ b/cmd/grpcurl/grpcurl.go @@ -422,7 +422,7 @@ func main() { tlsConf.KeyLogWriter = w } - creds := credentials.NewTLS(tlsConf) + creds = credentials.NewTLS(tlsConf) // can use either -servername or -authority; but not both if *serverName != "" && *authority != "" {