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)
|
s, err := h.r.GetService(serviceName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
h.RUnlock()
|
h.RUnlock()
|
||||||
// ignore error
|
return err
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
h.RUnlock()
|
h.RUnlock()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user