fix broker log line
This commit is contained in:
parent
a1154590f2
commit
35364b037b
4
grpc.go
4
grpc.go
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user