strip sub comments
This commit is contained in:
parent
0c03bf064b
commit
bdd9ec560b
@ -653,7 +653,7 @@ func (g *grpcServer) Register() error {
|
||||
opts = append(opts, broker.DisableAutoAck())
|
||||
}
|
||||
|
||||
log.Logf("Broker [%s] Subscribing to topic: %s", config.Broker.String(), sb.Topic())
|
||||
log.Logf("Subscribing to topic: %s", sb.Topic())
|
||||
sub, err := config.Broker.Subscribe(sb.Topic(), handler, opts...)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -654,7 +654,7 @@ func (s *rpcServer) Register() error {
|
||||
opts = append(opts, broker.DisableAutoAck())
|
||||
}
|
||||
|
||||
log.Logf("Broker [%s] Subscribing to topic: %s", config.Broker.String(), sub.Topic())
|
||||
log.Logf("Subscribing to topic: %s", sub.Topic())
|
||||
sub, err := config.Broker.Subscribe(sb.Topic(), s.HandleEvent, opts...)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user