remove ignore error in method publish (#1075)
This commit is contained in:
parent
31362bc331
commit
7098e59b5c
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user