set value of creds instead of creating new variable
This commit is contained in:
parent
b9d2d8cfa8
commit
cbf8870553
|
|
@ -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 != "" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue