{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/4068","labels_url":"https://api.github.com/repos/deis/deis/issues/4068/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/4068/comments","events_url":"https://api.github.com/repos/deis/deis/issues/4068/events","html_url":"https://github.com/deis/deis/pull/4068","id":96095566,"number":4068,"title":"fix(client-go): defer deferred closing of body until after error check.","user":{"login":"Joshua-Anderson","id":3526404,"avatar_url":"https://avatars.githubusercontent.com/u/3526404?v=3","gravatar_id":"","url":"https://api.github.com/users/Joshua-Anderson","html_url":"https://github.com/Joshua-Anderson","followers_url":"https://api.github.com/users/Joshua-Anderson/followers","following_url":"https://api.github.com/users/Joshua-Anderson/following{/other_user}","gists_url":"https://api.github.com/users/Joshua-Anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/Joshua-Anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joshua-Anderson/subscriptions","organizations_url":"https://api.github.com/users/Joshua-Anderson/orgs","repos_url":"https://api.github.com/users/Joshua-Anderson/repos","events_url":"https://api.github.com/users/Joshua-Anderson/events{/privacy}","received_events_url":"https://api.github.com/users/Joshua-Anderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T15:58:53Z","updated_at":"2015-07-20T16:05:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/4068","html_url":"https://github.com/deis/deis/pull/4068","diff_url":"https://github.com/deis/deis/pull/4068.diff","patch_url":"https://github.com/deis/deis/pull/4068.patch"},"body":"If the request aborted due to an error the body didn't exist and\r\nthe deferred function would throw a nil pointer exception.\r\n\r\nReported by yebyen on IRC.\r\n\r\nExample panic: http://pastebin.com/NsjfvEWf"},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/122928624","html_url":"https://github.com/deis/deis/pull/4068#issuecomment-122928624","issue_url":"https://api.github.com/repos/deis/deis/issues/4068","id":122928624,"user":{"login":"bacongobbler","id":1360539,"avatar_url":"https://avatars.githubusercontent.com/u/1360539?v=3","gravatar_id":"","url":"https://api.github.com/users/bacongobbler","html_url":"https://github.com/bacongobbler","followers_url":"https://api.github.com/users/bacongobbler/followers","following_url":"https://api.github.com/users/bacongobbler/following{/other_user}","gists_url":"https://api.github.com/users/bacongobbler/gists{/gist_id}","starred_url":"https://api.github.com/users/bacongobbler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacongobbler/subscriptions","organizations_url":"https://api.github.com/users/bacongobbler/orgs","repos_url":"https://api.github.com/users/bacongobbler/repos","events_url":"https://api.github.com/users/bacongobbler/events{/privacy}","received_events_url":"https://api.github.com/users/bacongobbler/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T16:05:18Z","updated_at":"2015-07-20T16:05:18Z","body":"LGTM"}}