{"action":"created","issue":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/972","labels_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/972/comments","events_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/972/events","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/972","id":128782558,"number":972,"title":"Make curl fail on some HTTP errors","user":{"login":"lcp","id":98220,"avatar_url":"https://avatars.githubusercontent.com/u/98220?v=3","gravatar_id":"","url":"https://api.github.com/users/lcp","html_url":"https://github.com/lcp","followers_url":"https://api.github.com/users/lcp/followers","following_url":"https://api.github.com/users/lcp/following{/other_user}","gists_url":"https://api.github.com/users/lcp/gists{/gist_id}","starred_url":"https://api.github.com/users/lcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcp/subscriptions","organizations_url":"https://api.github.com/users/lcp/orgs","repos_url":"https://api.github.com/users/lcp/repos","events_url":"https://api.github.com/users/lcp/events{/privacy}","received_events_url":"https://api.github.com/users/lcp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-26T10:22:12Z","updated_at":"2016-01-26T11:02:21Z","closed_at":"2016-01-26T11:02:21Z","pull_request":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/pulls/972","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/972","diff_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/972.diff","patch_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/972.patch"},"body":"Although consoletest_setup.pm uses assert_script_run() to check\r\nthe result of the curl command, it's actually useless since curl\r\nwould fail silently. Add \"-f\" to make curl to return 22 when it\r\nfails to fetch the file.\r\n\r\nSigned-off-by: Gary Lin <glin@suse.com>"},"comment":{"url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/comments/174957709","html_url":"https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/972#issuecomment-174957709","issue_url":"https://api.github.com/repos/os-autoinst/os-autoinst-distri-opensuse/issues/972","id":174957709,"user":{"login":"coolo","id":1067203,"avatar_url":"https://avatars.githubusercontent.com/u/1067203?v=3","gravatar_id":"","url":"https://api.github.com/users/coolo","html_url":"https://github.com/coolo","followers_url":"https://api.github.com/users/coolo/followers","following_url":"https://api.github.com/users/coolo/following{/other_user}","gists_url":"https://api.github.com/users/coolo/gists{/gist_id}","starred_url":"https://api.github.com/users/coolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolo/subscriptions","organizations_url":"https://api.github.com/users/coolo/orgs","repos_url":"https://api.github.com/users/coolo/repos","events_url":"https://api.github.com/users/coolo/events{/privacy}","received_events_url":"https://api.github.com/users/coolo/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T11:02:21Z","updated_at":"2016-01-26T11:02:21Z","body":"merged manually - thx"}}