diff --git a/.gitignore b/.gitignore index d4f04d0..997ca2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -*.iml -.idea/ .vagrant \ No newline at end of file diff --git a/hystrix/eventstream.go b/hystrix/eventstream.go index 4c88123..83463d4 100644 --- a/hystrix/eventstream.go +++ b/hystrix/eventstream.go @@ -171,9 +171,7 @@ func (sh *StreamHandler) publishThreadPools(pool *bufferedExecutorPool) error { if err != nil { return err } - _ = sh.writeToRequests(eventBytes) - - return nil + return sh.writeToRequests(eventBytes) } func (sh *StreamHandler) writeToRequests(eventBytes []byte) error {