fix broker log line

This commit is contained in:
Asim Aslam 2019-08-06 12:25:51 +01:00
parent 0d85e35da0
commit beffa625f8

View File

@ -719,10 +719,10 @@ func (g *grpcServer) Start() error {
return err
}
baddr := strings.Join(config.Broker.Options().Addrs, ",")
baddr := config.Broker.Address()
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
if err := g.Register(); err != nil {