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)]
|
node := service.Nodes[rand.Int()%len(service.Nodes)]
|
||||||
// publish async
|
// publish async
|
||||||
go fn(node, b)
|
go fn(node, b)
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user