mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-05-24 12:41:45 +03:00
set value of creds instead of creating new variable (#263)
This commit is contained in:
@@ -422,7 +422,7 @@ func main() {
|
|||||||
tlsConf.KeyLogWriter = w
|
tlsConf.KeyLogWriter = w
|
||||||
}
|
}
|
||||||
|
|
||||||
creds := credentials.NewTLS(tlsConf)
|
creds = credentials.NewTLS(tlsConf)
|
||||||
|
|
||||||
// can use either -servername or -authority; but not both
|
// can use either -servername or -authority; but not both
|
||||||
if *serverName != "" && *authority != "" {
|
if *serverName != "" && *authority != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user