From cbf8870553ddc7b1030a0d2e06c4fa0dd519319e Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 6 Oct 2021 23:30:43 -0400 Subject: [PATCH] set value of creds instead of creating new variable --- 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 != "" {