set value of creds instead of creating new variable (#263)

This commit is contained in:
Jeffrey Duce
2021-10-07 15:49:59 -04:00
committed by GitHub
parent 76bbedeed0
commit 9ac7e3a34d

View File

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