From d99f595ea1f1e5caf168e4885702d6b71ff1a090 Mon Sep 17 00:00:00 2001 From: Klaus Date: Thu, 30 Apr 2020 17:11:28 +0800 Subject: [PATCH] log real listen addr when blademaster start (#574) --- pkg/net/http/blademaster/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/net/http/blademaster/server.go b/pkg/net/http/blademaster/server.go index 7ad34c027..9f29da429 100644 --- a/pkg/net/http/blademaster/server.go +++ b/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),