log real listen addr when blademaster start (#574)

pull/582/head
Klaus 5 years ago committed by GitHub
parent 52cb7ec27f
commit d99f595ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/net/http/blademaster/server.go

@ -94,7 +94,7 @@ func (engine *Engine) Start() error {
return errors.Wrapf(err, "blademaster: listen tcp: %s", conf.Addr)
}
log.Info("blademaster: start http listen addr: %s", conf.Addr)
log.Info("blademaster: start http listen addr: %s", l.Addr().String())
server := &http.Server{
ReadTimeout: time.Duration(conf.ReadTimeout),
WriteTimeout: time.Duration(conf.WriteTimeout),

Loading…
Cancel
Save