set value of creds instead of creating new variable (#263)
This commit is contained in:
parent
76bbedeed0
commit
9ac7e3a34d
|
|
@ -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 != "" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue