{"action":"created","issue":{"url":"https://api.github.com/repos/scality/Arsenal/issues/367","repository_url":"https://api.github.com/repos/scality/Arsenal","labels_url":"https://api.github.com/repos/scality/Arsenal/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/scality/Arsenal/issues/367/comments","events_url":"https://api.github.com/repos/scality/Arsenal/issues/367/events","html_url":"https://github.com/scality/Arsenal/pull/367","id":270163785,"number":367,"title":"fix: undefined stream.destroy call","user":{"login":"electrachong","id":15208707,"avatar_url":"https://avatars3.githubusercontent.com/u/15208707?v=4","gravatar_id":"","url":"https://api.github.com/users/electrachong","html_url":"https://github.com/electrachong","followers_url":"https://api.github.com/users/electrachong/followers","following_url":"https://api.github.com/users/electrachong/following{/other_user}","gists_url":"https://api.github.com/users/electrachong/gists{/gist_id}","starred_url":"https://api.github.com/users/electrachong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrachong/subscriptions","organizations_url":"https://api.github.com/users/electrachong/orgs","repos_url":"https://api.github.com/users/electrachong/repos","events_url":"https://api.github.com/users/electrachong/events{/privacy}","received_events_url":"https://api.github.com/users/electrachong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-01T01:06:24Z","updated_at":"2017-11-06T20:07:13Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/scality/Arsenal/pulls/367","html_url":"https://github.com/scality/Arsenal/pull/367","diff_url":"https://github.com/scality/Arsenal/pull/367.diff","patch_url":"https://github.com/scality/Arsenal/pull/367.patch"},"body":"To end streaming in case of error, we were calling an unofficial method of the stream API which was removed and does not exist in the version of node we use. The method is re-added officially in node v.8 but until we upgrade we need to destroy the streams manually, by pushing null for readables and calling stream.end() for writables.\r\n\r\nSee: https://github.com/nodejs/readable-stream/issues/124\r\nand https://github.com/nodejs/node/pull/12925"},"comment":{"url":"https://api.github.com/repos/scality/Arsenal/issues/comments/342270287","html_url":"https://github.com/scality/Arsenal/pull/367#issuecomment-342270287","issue_url":"https://api.github.com/repos/scality/Arsenal/issues/367","id":342270287,"user":{"login":"ironman-machine","id":15127091,"avatar_url":"https://avatars0.githubusercontent.com/u/15127091?v=4","gravatar_id":"","url":"https://api.github.com/users/ironman-machine","html_url":"https://github.com/ironman-machine","followers_url":"https://api.github.com/users/ironman-machine/followers","following_url":"https://api.github.com/users/ironman-machine/following{/other_user}","gists_url":"https://api.github.com/users/ironman-machine/gists{/gist_id}","starred_url":"https://api.github.com/users/ironman-machine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironman-machine/subscriptions","organizations_url":"https://api.github.com/users/ironman-machine/orgs","repos_url":"https://api.github.com/users/ironman-machine/repos","events_url":"https://api.github.com/users/ironman-machine/events{/privacy}","received_events_url":"https://api.github.com/users/ironman-machine/received_events","type":"User","site_admin":false},"created_at":"2017-11-06T20:07:13Z","updated_at":"2017-11-06T20:07:13Z","author_association":"CONTRIBUTOR","body":":sunny: :+1: [circleCI test](http://ci.ironmann.io/gh/scality/Integration/16833) succeeded!"}}
{"actor":{"display_login":"ironman-machine"}}