Browse Source

Fix merge error

pull/4275/head
Paul Banks 7 years ago committed by Jack Pearkes
parent
commit
3a6024e1b0
  1. 5
      connect/proxy/proxy.go

5
connect/proxy/proxy.go

@ -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…
Cancel
Save