Skip to content

Commit

Permalink
set value of creds instead of creating new variable (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffDuce authored Oct 7, 2021
1 parent 76bbede commit 9ac7e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/grpcurl/grpcurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 9ac7e3a

Please sign in to comment.