strip sub comments

This commit is contained in:
Asim Aslam 2020-01-19 13:47:14 +00:00
parent 0c03bf064b
commit bdd9ec560b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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