{"action":"opened","number":61,"pull_request":{"url":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/61","id":142183841,"html_url":"https://github.com/DataDog/datadog-process-agent/pull/61","diff_url":"https://github.com/DataDog/datadog-process-agent/pull/61.diff","patch_url":"https://github.com/DataDog/datadog-process-agent/pull/61.patch","issue_url":"https://api.github.com/repos/DataDog/datadog-process-agent/issues/61","number":61,"state":"open","locked":false,"title":"If scheme is nil url.Parse will throw an error","user":{"login":"bkochendorfer","id":1072933,"avatar_url":"https://avatars2.githubusercontent.com/u/1072933?v=4","gravatar_id":"","url":"https://api.github.com/users/bkochendorfer","html_url":"https://github.com/bkochendorfer","followers_url":"https://api.github.com/users/bkochendorfer/followers","following_url":"https://api.github.com/users/bkochendorfer/following{/other_user}","gists_url":"https://api.github.com/users/bkochendorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/bkochendorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkochendorfer/subscriptions","organizations_url":"https://api.github.com/users/bkochendorfer/orgs","repos_url":"https://api.github.com/users/bkochendorfer/repos","events_url":"https://api.github.com/users/bkochendorfer/events{/privacy}","received_events_url":"https://api.github.com/users/bkochendorfer/received_events","type":"User","site_admin":false},"body":"Although datadog-process-agent supports proxy urls like the following:\r\n* example.com\r\n* http://example.com\r\n\r\nThe scheme was passed in blank resulting in an error in parsing a url\r\nlike `://example.com`\r\n\r\nPlease see https://play.golang.org/p/PUug1jdGSh for an example of the\r\nerror we are experiencing.\r\n\r\nI wanted to add some tests but this project is not buildable. There is another open issue regarding this problem https://github.com/DataDog/datadog-process-agent/issues/52 . Once corrected I am happy to add some tests.","created_at":"2017-09-20T19:33:07Z","updated_at":"2017-09-20T19:33:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/61/commits","review_comments_url":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/61/comments","review_comment_url":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/datadog-process-agent/issues/61/comments","statuses_url":"https://api.github.com/repos/DataDog/datadog-process-agent/statuses/9fca637df18ea5af0a678ae227d4ab8419f0d019","head":{"label":"bkochendorfer:proxy_scheme_is_nil","ref":"proxy_scheme_is_nil","sha":"9fca637df18ea5af0a678ae227d4ab8419f0d019","user":{"login":"bkochendorfer","id":1072933,"avatar_url":"https://avatars2.githubusercontent.com/u/1072933?v=4","gravatar_id":"","url":"https://api.github.com/users/bkochendorfer","html_url":"https://github.com/bkochendorfer","followers_url":"https://api.github.com/users/bkochendorfer/followers","following_url":"https://api.github.com/users/bkochendorfer/following{/other_user}","gists_url":"https://api.github.com/users/bkochendorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/bkochendorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkochendorfer/subscriptions","organizations_url":"https://api.github.com/users/bkochendorfer/orgs","repos_url":"https://api.github.com/users/bkochendorfer/repos","events_url":"https://api.github.com/users/bkochendorfer/events{/privacy}","received_events_url":"https://api.github.com/users/bkochendorfer/received_events","type":"User","site_admin":false},"repo":{"id":104257929,"name":"datadog-process-agent","full_name":"bkochendorfer/datadog-process-agent","owner":{"login":"bkochendorfer","id":1072933,"avatar_url":"https://avatars2.githubusercontent.com/u/1072933?v=4","gravatar_id":"","url":"https://api.github.com/users/bkochendorfer","html_url":"https://github.com/bkochendorfer","followers_url":"https://api.github.com/users/bkochendorfer/followers","following_url":"https://api.github.com/users/bkochendorfer/following{/other_user}","gists_url":"https://api.github.com/users/bkochendorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/bkochendorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkochendorfer/subscriptions","organizations_url":"https://api.github.com/users/bkochendorfer/orgs","repos_url":"https://api.github.com/users/bkochendorfer/repos","events_url":"https://api.github.com/users/bkochendorfer/events{/privacy}","received_events_url":"https://api.github.com/users/bkochendorfer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bkochendorfer/datadog-process-agent","description":"Datadog Process Agent","fork":true,"url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent","forks_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/forks","keys_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/teams","hooks_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/hooks","issue_events_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/issues/events{/number}","events_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/events","assignees_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/assignees{/user}","branches_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/branches{/branch}","tags_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/tags","blobs_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/languages","stargazers_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/stargazers","contributors_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/contributors","subscribers_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/subscribers","subscription_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/subscription","commits_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/contents/{+path}","compare_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/merges","archive_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/downloads","issues_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/issues{/number}","pulls_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/labels{/name}","releases_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/releases{/id}","deployments_url":"https://api.github.com/repos/bkochendorfer/datadog-process-agent/deployments","created_at":"2017-09-20T19:16:57Z","updated_at":"2017-09-20T19:16:58Z","pushed_at":"2017-09-20T19:31:24Z","git_url":"git://github.com/bkochendorfer/datadog-process-agent.git","ssh_url":"git@github.com:bkochendorfer/datadog-process-agent.git","clone_url":"https://github.com/bkochendorfer/datadog-process-agent.git","svn_url":"https://github.com/bkochendorfer/datadog-process-agent","homepage":"https://datadoghq.com","size":17332,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DataDog:master","ref":"master","sha":"403b02c8d472c3b472c7c2c03a5a482a8ab88131","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars1.githubusercontent.com/u/365230?v=4","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":95495719,"name":"datadog-process-agent","full_name":"DataDog/datadog-process-agent","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars1.githubusercontent.com/u/365230?v=4","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/datadog-process-agent","description":"Datadog Process Agent","fork":false,"url":"https://api.github.com/repos/DataDog/datadog-process-agent","forks_url":"https://api.github.com/repos/DataDog/datadog-process-agent/forks","keys_url":"https://api.github.com/repos/DataDog/datadog-process-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/datadog-process-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/datadog-process-agent/teams","hooks_url":"https://api.github.com/repos/DataDog/datadog-process-agent/hooks","issue_events_url":"https://api.github.com/repos/DataDog/datadog-process-agent/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/datadog-process-agent/events","assignees_url":"https://api.github.com/repos/DataDog/datadog-process-agent/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/datadog-process-agent/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/datadog-process-agent/tags","blobs_url":"https://api.github.com/repos/DataDog/datadog-process-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/datadog-process-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/datadog-process-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/datadog-process-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/datadog-process-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/datadog-process-agent/languages","stargazers_url":"https://api.github.com/repos/DataDog/datadog-process-agent/stargazers","contributors_url":"https://api.github.com/repos/DataDog/datadog-process-agent/contributors","subscribers_url":"https://api.github.com/repos/DataDog/datadog-process-agent/subscribers","subscription_url":"https://api.github.com/repos/DataDog/datadog-process-agent/subscription","commits_url":"https://api.github.com/repos/DataDog/datadog-process-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/datadog-process-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/datadog-process-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/datadog-process-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/datadog-process-agent/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/datadog-process-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/datadog-process-agent/merges","archive_url":"https://api.github.com/repos/DataDog/datadog-process-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/datadog-process-agent/downloads","issues_url":"https://api.github.com/repos/DataDog/datadog-process-agent/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/datadog-process-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/datadog-process-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/datadog-process-agent/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/datadog-process-agent/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/datadog-process-agent/deployments","created_at":"2017-06-26T22:44:21Z","updated_at":"2017-08-22T20:43:50Z","pushed_at":"2017-09-18T15:55:38Z","git_url":"git://github.com/DataDog/datadog-process-agent.git","ssh_url":"git@github.com:DataDog/datadog-process-agent.git","clone_url":"https://github.com/DataDog/datadog-process-agent.git","svn_url":"https://github.com/DataDog/datadog-process-agent","homepage":"https://datadoghq.com","size":17332,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/61"},"html":{"href":"https://github.com/DataDog/datadog-process-agent/pull/61"},"issue":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/issues/61"},"comments":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/datadog-process-agent/statuses/9fca637df18ea5af0a678ae227d4ab8419f0d019"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"bkochendorfer"}}