mirror of https://github.com/status-im/consul.git
Fix merge error
This commit is contained in:
parent
17789d4fe3
commit
3a6024e1b0
|
@ -73,13 +73,8 @@ func (p *Proxy) Serve() error {
|
|||
tcfg := service.ServerTLSConfig()
|
||||
cert, _ := tcfg.GetCertificate(nil)
|
||||
leaf, _ := x509.ParseCertificate(cert.Certificate[0])
|
||||
<<<<<<< HEAD
|
||||
p.logger.Printf("[DEBUG] leaf: %s roots: %s", leaf.URIs[0],
|
||||
bytes.Join(tcfg.RootCAs.Subjects(), []byte(",")))
|
||||
}()
|
||||
=======
|
||||
p.logger.Printf("[DEBUG] leaf: %s roots: %s", leaf.URIs[0], bytes.Join(tcfg.RootCAs.Subjects(), []byte(",")))
|
||||
>>>>>>> Make proxy only listen after initial certs are fetched
|
||||
|
||||
// Only start a listener if we have a port set. This allows
|
||||
// the configuration to disable our public listener.
|
||||
|
|
Loading…
Reference in New Issue