Skip to content

Commit 9ac7e3a

Browse files
authored
set value of creds instead of creating new variable (#263)
1 parent 76bbede commit 9ac7e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/grpcurl/grpcurl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ func main() {
422422
tlsConf.KeyLogWriter = w
423423
}
424424

425-
creds := credentials.NewTLS(tlsConf)
425+
creds = credentials.NewTLS(tlsConf)
426426

427427
// can use either -servername or -authority; but not both
428428
if *serverName != "" && *authority != "" {

0 commit comments

Comments
 (0)