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 != "" {