From 62dd924dd4183ec9bb5f8ee7e2f054f830429524 Mon Sep 17 00:00:00 2001 From: Jonathan Beaulieu Date: Mon, 25 Sep 2023 17:19:10 +0000 Subject: [PATCH] Small fix: removed indirection on usetls --- 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 860c520..475358d 100644 --- a/cmd/grpcurl/grpcurl.go +++ b/cmd/grpcurl/grpcurl.go @@ -450,7 +450,7 @@ func main() { clientOptions.HandshakerServiceAddress = *altsHandshakerServiceAddress } creds = alts.NewClientCreds(clientOptions) - } else if *usetls { + } else if usetls { tlsConf, err := grpcurl.ClientTLSConfig(*insecure, *cacert, *cert, *key) if err != nil { fail(err, "Failed to create TLS config")