fix broker log line

This commit is contained in:
Asim Aslam 2019-08-06 12:25:51 +01:00 committed by Vasiliy Tolstov
parent a1154590f2
commit 35364b037b

View File

@ -719,10 +719,10 @@ func (g *grpcServer) Start() error {
return err return err
} }
baddr := strings.Join(config.Broker.Options().Addrs, ",") baddr := config.Broker.Address()
bname := config.Broker.String() bname := config.Broker.String()
log.Logf("Broker [%s] Listening on %s", bname, baddr) log.Logf("Broker [%s] Connected to %s", bname, baddr)
// announce self to the world // announce self to the world
if err := g.Register(); err != nil { if err := g.Register(); err != nil {