mirror of
https://github.com/containous/traefik.git
synced 2025-10-20 11:33:18 +03:00
refactor: fix some code.
This commit is contained in:
committed by
Traefiker
parent
07524f5c99
commit
0472d19bd4
@@ -589,6 +589,7 @@ func (s *EtcdSuite) TestSNIDynamicTlsConfig(c *check.C) {
|
||||
req.Header.Set("Host", tr2.TLSClientConfig.ServerName)
|
||||
req.Header.Set("Accept", "*/*")
|
||||
resp, err = client.Do(req)
|
||||
c.Assert(err, checker.IsNil)
|
||||
cn = resp.TLS.PeerCertificates[0].Subject.CommonName
|
||||
c.Assert(cn, checker.Equals, "snitest.org")
|
||||
}
|
||||
|
Reference in New Issue
Block a user