Merge pull request #3377 from yichengq/tls-info-string

pkg/transport: print ClientCertAuth in TLSInfo.String()
release-2.2
Yicheng Qin 2015-08-25 22:45:10 -07:00
commit 76db9747f8
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ type TLSInfo struct {
}
func (info TLSInfo) String() string {
return fmt.Sprintf("cert = %s, key = %s, ca = %s, trusted-ca = %s", info.CertFile, info.KeyFile, info.CAFile, info.TrustedCAFile)
return fmt.Sprintf("cert = %s, key = %s, ca = %s, trusted-ca = %s, client-cert-auth = %v", info.CertFile, info.KeyFile, info.CAFile, info.TrustedCAFile, info.ClientCertAuth)
}
func (info TLSInfo) Empty() bool {