{"action":"opened","number":239,"pull_request":{"url":"https://api.github.com/repos/gambol99/go-marathon/pulls/239","id":92885353,"html_url":"https://github.com/gambol99/go-marathon/pull/239","diff_url":"https://github.com/gambol99/go-marathon/pull/239.diff","patch_url":"https://github.com/gambol99/go-marathon/pull/239.patch","issue_url":"https://api.github.com/repos/gambol99/go-marathon/issues/239","number":239,"state":"open","locked":false,"title":"Support scheme-less endpoint with port.","user":{"login":"timoreimann","id":694826,"avatar_url":"https://avatars.githubusercontent.com/u/694826?v=3","gravatar_id":"","url":"https://api.github.com/users/timoreimann","html_url":"https://github.com/timoreimann","followers_url":"https://api.github.com/users/timoreimann/followers","following_url":"https://api.github.com/users/timoreimann/following{/other_user}","gists_url":"https://api.github.com/users/timoreimann/gists{/gist_id}","starred_url":"https://api.github.com/users/timoreimann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timoreimann/subscriptions","organizations_url":"https://api.github.com/users/timoreimann/orgs","repos_url":"https://api.github.com/users/timoreimann/repos","events_url":"https://api.github.com/users/timoreimann/events{/privacy}","received_events_url":"https://api.github.com/users/timoreimann/received_events","type":"User","site_admin":false},"body":"A Marathon URL like `http://host1,host2:8080` would not be accepted as `host:8080` is considered as an opaque URL by url.Parse with the scheme being `host` and the opaque part being `8080`. We fix this by prepending the default scheme if URL.Opaque is non-empty.\r\n\r\nOther drive-by changes:\r\n\r\n- Panic on a parse error when we add the default scheme. (This should   not happen, hence the panic to indicate an invariant.)\r\n- Remove a check for empty scheme. (We should have ruled out this possibility.)\r\n\r\nFixes #238.","created_at":"2016-11-09T00:12:34Z","updated_at":"2016-11-09T00:12:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61e3874698af749ec26b2cdc97f4393c7858ab66","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/239/commits","review_comments_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/239/comments","review_comment_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gambol99/go-marathon/issues/239/comments","statuses_url":"https://api.github.com/repos/gambol99/go-marathon/statuses/38d649c9686817ea38d353f1a86ff8a01d337683","head":{"label":"gambol99:support-schemeless-endpoint-with-port","ref":"support-schemeless-endpoint-with-port","sha":"38d649c9686817ea38d353f1a86ff8a01d337683","user":{"login":"gambol99","id":4280679,"avatar_url":"https://avatars.githubusercontent.com/u/4280679?v=3","gravatar_id":"","url":"https://api.github.com/users/gambol99","html_url":"https://github.com/gambol99","followers_url":"https://api.github.com/users/gambol99/followers","following_url":"https://api.github.com/users/gambol99/following{/other_user}","gists_url":"https://api.github.com/users/gambol99/gists{/gist_id}","starred_url":"https://api.github.com/users/gambol99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambol99/subscriptions","organizations_url":"https://api.github.com/users/gambol99/orgs","repos_url":"https://api.github.com/users/gambol99/repos","events_url":"https://api.github.com/users/gambol99/events{/privacy}","received_events_url":"https://api.github.com/users/gambol99/received_events","type":"User","site_admin":false},"repo":{"id":30648714,"name":"go-marathon","full_name":"gambol99/go-marathon","owner":{"login":"gambol99","id":4280679,"avatar_url":"https://avatars.githubusercontent.com/u/4280679?v=3","gravatar_id":"","url":"https://api.github.com/users/gambol99","html_url":"https://github.com/gambol99","followers_url":"https://api.github.com/users/gambol99/followers","following_url":"https://api.github.com/users/gambol99/following{/other_user}","gists_url":"https://api.github.com/users/gambol99/gists{/gist_id}","starred_url":"https://api.github.com/users/gambol99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambol99/subscriptions","organizations_url":"https://api.github.com/users/gambol99/orgs","repos_url":"https://api.github.com/users/gambol99/repos","events_url":"https://api.github.com/users/gambol99/events{/privacy}","received_events_url":"https://api.github.com/users/gambol99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gambol99/go-marathon","description":"A GO API library for working with Marathon","fork":false,"url":"https://api.github.com/repos/gambol99/go-marathon","forks_url":"https://api.github.com/repos/gambol99/go-marathon/forks","keys_url":"https://api.github.com/repos/gambol99/go-marathon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gambol99/go-marathon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gambol99/go-marathon/teams","hooks_url":"https://api.github.com/repos/gambol99/go-marathon/hooks","issue_events_url":"https://api.github.com/repos/gambol99/go-marathon/issues/events{/number}","events_url":"https://api.github.com/repos/gambol99/go-marathon/events","assignees_url":"https://api.github.com/repos/gambol99/go-marathon/assignees{/user}","branches_url":"https://api.github.com/repos/gambol99/go-marathon/branches{/branch}","tags_url":"https://api.github.com/repos/gambol99/go-marathon/tags","blobs_url":"https://api.github.com/repos/gambol99/go-marathon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gambol99/go-marathon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gambol99/go-marathon/git/refs{/sha}","trees_url":"https://api.github.com/repos/gambol99/go-marathon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gambol99/go-marathon/statuses/{sha}","languages_url":"https://api.github.com/repos/gambol99/go-marathon/languages","stargazers_url":"https://api.github.com/repos/gambol99/go-marathon/stargazers","contributors_url":"https://api.github.com/repos/gambol99/go-marathon/contributors","subscribers_url":"https://api.github.com/repos/gambol99/go-marathon/subscribers","subscription_url":"https://api.github.com/repos/gambol99/go-marathon/subscription","commits_url":"https://api.github.com/repos/gambol99/go-marathon/commits{/sha}","git_commits_url":"https://api.github.com/repos/gambol99/go-marathon/git/commits{/sha}","comments_url":"https://api.github.com/repos/gambol99/go-marathon/comments{/number}","issue_comment_url":"https://api.github.com/repos/gambol99/go-marathon/issues/comments{/number}","contents_url":"https://api.github.com/repos/gambol99/go-marathon/contents/{+path}","compare_url":"https://api.github.com/repos/gambol99/go-marathon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gambol99/go-marathon/merges","archive_url":"https://api.github.com/repos/gambol99/go-marathon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gambol99/go-marathon/downloads","issues_url":"https://api.github.com/repos/gambol99/go-marathon/issues{/number}","pulls_url":"https://api.github.com/repos/gambol99/go-marathon/pulls{/number}","milestones_url":"https://api.github.com/repos/gambol99/go-marathon/milestones{/number}","notifications_url":"https://api.github.com/repos/gambol99/go-marathon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gambol99/go-marathon/labels{/name}","releases_url":"https://api.github.com/repos/gambol99/go-marathon/releases{/id}","deployments_url":"https://api.github.com/repos/gambol99/go-marathon/deployments","created_at":"2015-02-11T13:25:26Z","updated_at":"2016-11-05T17:01:28Z","pushed_at":"2016-11-09T00:12:34Z","git_url":"git://github.com/gambol99/go-marathon.git","ssh_url":"git@github.com:gambol99/go-marathon.git","clone_url":"https://github.com/gambol99/go-marathon.git","svn_url":"https://github.com/gambol99/go-marathon","homepage":"","size":748,"stargazers_count":119,"watchers_count":119,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":16,"forks":75,"open_issues":16,"watchers":119,"default_branch":"master"}},"base":{"label":"gambol99:master","ref":"master","sha":"e6dc89572b363835b1222dce4810c83d7757514e","user":{"login":"gambol99","id":4280679,"avatar_url":"https://avatars.githubusercontent.com/u/4280679?v=3","gravatar_id":"","url":"https://api.github.com/users/gambol99","html_url":"https://github.com/gambol99","followers_url":"https://api.github.com/users/gambol99/followers","following_url":"https://api.github.com/users/gambol99/following{/other_user}","gists_url":"https://api.github.com/users/gambol99/gists{/gist_id}","starred_url":"https://api.github.com/users/gambol99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambol99/subscriptions","organizations_url":"https://api.github.com/users/gambol99/orgs","repos_url":"https://api.github.com/users/gambol99/repos","events_url":"https://api.github.com/users/gambol99/events{/privacy}","received_events_url":"https://api.github.com/users/gambol99/received_events","type":"User","site_admin":false},"repo":{"id":30648714,"name":"go-marathon","full_name":"gambol99/go-marathon","owner":{"login":"gambol99","id":4280679,"avatar_url":"https://avatars.githubusercontent.com/u/4280679?v=3","gravatar_id":"","url":"https://api.github.com/users/gambol99","html_url":"https://github.com/gambol99","followers_url":"https://api.github.com/users/gambol99/followers","following_url":"https://api.github.com/users/gambol99/following{/other_user}","gists_url":"https://api.github.com/users/gambol99/gists{/gist_id}","starred_url":"https://api.github.com/users/gambol99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambol99/subscriptions","organizations_url":"https://api.github.com/users/gambol99/orgs","repos_url":"https://api.github.com/users/gambol99/repos","events_url":"https://api.github.com/users/gambol99/events{/privacy}","received_events_url":"https://api.github.com/users/gambol99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gambol99/go-marathon","description":"A GO API library for working with Marathon","fork":false,"url":"https://api.github.com/repos/gambol99/go-marathon","forks_url":"https://api.github.com/repos/gambol99/go-marathon/forks","keys_url":"https://api.github.com/repos/gambol99/go-marathon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gambol99/go-marathon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gambol99/go-marathon/teams","hooks_url":"https://api.github.com/repos/gambol99/go-marathon/hooks","issue_events_url":"https://api.github.com/repos/gambol99/go-marathon/issues/events{/number}","events_url":"https://api.github.com/repos/gambol99/go-marathon/events","assignees_url":"https://api.github.com/repos/gambol99/go-marathon/assignees{/user}","branches_url":"https://api.github.com/repos/gambol99/go-marathon/branches{/branch}","tags_url":"https://api.github.com/repos/gambol99/go-marathon/tags","blobs_url":"https://api.github.com/repos/gambol99/go-marathon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gambol99/go-marathon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gambol99/go-marathon/git/refs{/sha}","trees_url":"https://api.github.com/repos/gambol99/go-marathon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gambol99/go-marathon/statuses/{sha}","languages_url":"https://api.github.com/repos/gambol99/go-marathon/languages","stargazers_url":"https://api.github.com/repos/gambol99/go-marathon/stargazers","contributors_url":"https://api.github.com/repos/gambol99/go-marathon/contributors","subscribers_url":"https://api.github.com/repos/gambol99/go-marathon/subscribers","subscription_url":"https://api.github.com/repos/gambol99/go-marathon/subscription","commits_url":"https://api.github.com/repos/gambol99/go-marathon/commits{/sha}","git_commits_url":"https://api.github.com/repos/gambol99/go-marathon/git/commits{/sha}","comments_url":"https://api.github.com/repos/gambol99/go-marathon/comments{/number}","issue_comment_url":"https://api.github.com/repos/gambol99/go-marathon/issues/comments{/number}","contents_url":"https://api.github.com/repos/gambol99/go-marathon/contents/{+path}","compare_url":"https://api.github.com/repos/gambol99/go-marathon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gambol99/go-marathon/merges","archive_url":"https://api.github.com/repos/gambol99/go-marathon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gambol99/go-marathon/downloads","issues_url":"https://api.github.com/repos/gambol99/go-marathon/issues{/number}","pulls_url":"https://api.github.com/repos/gambol99/go-marathon/pulls{/number}","milestones_url":"https://api.github.com/repos/gambol99/go-marathon/milestones{/number}","notifications_url":"https://api.github.com/repos/gambol99/go-marathon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gambol99/go-marathon/labels{/name}","releases_url":"https://api.github.com/repos/gambol99/go-marathon/releases{/id}","deployments_url":"https://api.github.com/repos/gambol99/go-marathon/deployments","created_at":"2015-02-11T13:25:26Z","updated_at":"2016-11-05T17:01:28Z","pushed_at":"2016-11-09T00:12:34Z","git_url":"git://github.com/gambol99/go-marathon.git","ssh_url":"git@github.com:gambol99/go-marathon.git","clone_url":"https://github.com/gambol99/go-marathon.git","svn_url":"https://github.com/gambol99/go-marathon","homepage":"","size":748,"stargazers_count":119,"watchers_count":119,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":16,"forks":75,"open_issues":16,"watchers":119,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/239"},"html":{"href":"https://github.com/gambol99/go-marathon/pull/239"},"issue":{"href":"https://api.github.com/repos/gambol99/go-marathon/issues/239"},"comments":{"href":"https://api.github.com/repos/gambol99/go-marathon/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/gambol99/go-marathon/statuses/38d649c9686817ea38d353f1a86ff8a01d337683"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"timoreimann"}}