Clear Run Error in Powchain Service Upon Reconnect (#4671)

* clear the run err on reconnect
* Merge refs/heads/master into clear-err-on-reconnect
* nishant feedback
This commit is contained in:
Raul Jordan
2020-01-27 22:04:38 -06:00
committed by prylabs-bulldozer[bot]
parent e2be2a21d0
commit 439a84fcb9

View File

@@ -590,6 +590,7 @@ func (s *Service) run(done <-chan struct{}) {
s.runError = err
return
}
s.runError = nil
case header, ok := <-s.headerChan:
if ok {
s.processSubscribedHeaders(header)