Don't return
This commit is contained in:
parent
aea81315d0
commit
9d629b5365
@ -382,7 +382,6 @@ func (h *httpBroker) Publish(topic string, msg *Message, opts ...PublishOption)
|
||||
node := service.Nodes[rand.Int()%len(service.Nodes)]
|
||||
// publish async
|
||||
go fn(node, b)
|
||||
return nil
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user