mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
remove ignore error in method publish (#1075)
This commit is contained in:
@ -533,8 +533,7 @@ func (h *httpBroker) Publish(topic string, msg *Message, opts ...PublishOption)
|
||||
s, err := h.r.GetService(serviceName)
|
||||
if err != nil {
|
||||
h.RUnlock()
|
||||
// ignore error
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
h.RUnlock()
|
||||
|
||||
|
Reference in New Issue
Block a user