Browse Source

reset last error

mq-subscribe
chrislu 8 months ago
parent
commit
4e3701df77
  1. 1
      weed/mq/client/pub_client/scheduler.go

1
weed/mq/client/pub_client/scheduler.go

@ -241,6 +241,7 @@ func (p *TopicPublisher) doConfigureTopic() (err error) {
return err return err
}) })
if err == nil { if err == nil {
lastErr = nil
return nil return nil
} else { } else {
lastErr = fmt.Errorf("%s: %v", brokerAddress, err) lastErr = fmt.Errorf("%s: %v", brokerAddress, err)

Loading…
Cancel
Save