small fix
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
78ef338fe3
commit
ad418b5905
2
grpc.go
2
grpc.go
@ -775,7 +775,7 @@ func (g *grpcServer) Register() error {
|
|||||||
defer g.Unlock()
|
defer g.Unlock()
|
||||||
|
|
||||||
for sb := range g.subscribers {
|
for sb := range g.subscribers {
|
||||||
handler := g.createSubHandler(sb, g.opts)
|
handler := g.createSubHandler(sb, config)
|
||||||
var opts []broker.SubscribeOption
|
var opts []broker.SubscribeOption
|
||||||
if queue := sb.Options().Queue; len(queue) > 0 {
|
if queue := sb.Options().Queue; len(queue) > 0 {
|
||||||
opts = append(opts, broker.SubscribeGroup(queue))
|
opts = append(opts, broker.SubscribeGroup(queue))
|
||||||
|
Loading…
Reference in New Issue
Block a user