{"action":"closed","number":2032,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/2032","id":48277386,"html_url":"https://github.com/docker/machine/pull/2032","diff_url":"https://github.com/docker/machine/pull/2032.diff","patch_url":"https://github.com/docker/machine/pull/2032.patch","issue_url":"https://api.github.com/repos/docker/machine/issues/2032","number":2032,"state":"closed","locked":false,"title":"Returning active host when swarm is active","user":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"body":"Fixes #1311 and fixes #1136.\r\n\r\nReimplements the changes from #1313.\r\n\r\nSigned-off-by: Dave Henderson <dhenderson@gmail.com>","created_at":"2015-10-21T01:03:14Z","updated_at":"2015-10-26T19:54:44Z","closed_at":"2015-10-26T19:54:44Z","merged_at":"2015-10-26T19:54:44Z","merge_commit_sha":"6724d6e3fdbd66d1f72d49dd6c8a62801b0ae837","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/machine/pulls/2032/commits","review_comments_url":"https://api.github.com/repos/docker/machine/pulls/2032/comments","review_comment_url":"https://api.github.com/repos/docker/machine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/machine/issues/2032/comments","statuses_url":"https://api.github.com/repos/docker/machine/statuses/ee4a3574411da874aab0c50af36546e98175ace4","head":{"label":"hairyhenderson:make-active-work-with-swarm-1311","ref":"make-active-work-with-swarm-1311","sha":"ee4a3574411da874aab0c50af36546e98175ace4","user":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"repo":{"id":31744393,"name":"machine","full_name":"hairyhenderson/machine","owner":{"login":"hairyhenderson","id":2037086,"avatar_url":"https://avatars.githubusercontent.com/u/2037086?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhenderson","html_url":"https://github.com/hairyhenderson","followers_url":"https://api.github.com/users/hairyhenderson/followers","following_url":"https://api.github.com/users/hairyhenderson/following{/other_user}","gists_url":"https://api.github.com/users/hairyhenderson/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhenderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhenderson/subscriptions","organizations_url":"https://api.github.com/users/hairyhenderson/orgs","repos_url":"https://api.github.com/users/hairyhenderson/repos","events_url":"https://api.github.com/users/hairyhenderson/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhenderson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hairyhenderson/machine","description":"Machine management for a container-centric world","fork":true,"url":"https://api.github.com/repos/hairyhenderson/machine","forks_url":"https://api.github.com/repos/hairyhenderson/machine/forks","keys_url":"https://api.github.com/repos/hairyhenderson/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hairyhenderson/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hairyhenderson/machine/teams","hooks_url":"https://api.github.com/repos/hairyhenderson/machine/hooks","issue_events_url":"https://api.github.com/repos/hairyhenderson/machine/issues/events{/number}","events_url":"https://api.github.com/repos/hairyhenderson/machine/events","assignees_url":"https://api.github.com/repos/hairyhenderson/machine/assignees{/user}","branches_url":"https://api.github.com/repos/hairyhenderson/machine/branches{/branch}","tags_url":"https://api.github.com/repos/hairyhenderson/machine/tags","blobs_url":"https://api.github.com/repos/hairyhenderson/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hairyhenderson/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hairyhenderson/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/hairyhenderson/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hairyhenderson/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/hairyhenderson/machine/languages","stargazers_url":"https://api.github.com/repos/hairyhenderson/machine/stargazers","contributors_url":"https://api.github.com/repos/hairyhenderson/machine/contributors","subscribers_url":"https://api.github.com/repos/hairyhenderson/machine/subscribers","subscription_url":"https://api.github.com/repos/hairyhenderson/machine/subscription","commits_url":"https://api.github.com/repos/hairyhenderson/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/hairyhenderson/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/hairyhenderson/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/hairyhenderson/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/hairyhenderson/machine/contents/{+path}","compare_url":"https://api.github.com/repos/hairyhenderson/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hairyhenderson/machine/merges","archive_url":"https://api.github.com/repos/hairyhenderson/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hairyhenderson/machine/downloads","issues_url":"https://api.github.com/repos/hairyhenderson/machine/issues{/number}","pulls_url":"https://api.github.com/repos/hairyhenderson/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/hairyhenderson/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/hairyhenderson/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hairyhenderson/machine/labels{/name}","releases_url":"https://api.github.com/repos/hairyhenderson/machine/releases{/id}","created_at":"2015-03-06T00:29:18Z","updated_at":"2015-05-08T16:51:58Z","pushed_at":"2015-10-24T16:47:53Z","git_url":"git://github.com/hairyhenderson/machine.git","ssh_url":"git@github.com:hairyhenderson/machine.git","clone_url":"https://github.com/hairyhenderson/machine.git","svn_url":"https://github.com/hairyhenderson/machine","homepage":"https://docs.docker.com/machine/","size":9864,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"e421a07336c65fe28177b8a6a2c979c2f66f4d8c","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":27494663,"name":"machine","full_name":"docker/machine","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/machine","description":"Machine management for a container-centric world","fork":false,"url":"https://api.github.com/repos/docker/machine","forks_url":"https://api.github.com/repos/docker/machine/forks","keys_url":"https://api.github.com/repos/docker/machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/machine/teams","hooks_url":"https://api.github.com/repos/docker/machine/hooks","issue_events_url":"https://api.github.com/repos/docker/machine/issues/events{/number}","events_url":"https://api.github.com/repos/docker/machine/events","assignees_url":"https://api.github.com/repos/docker/machine/assignees{/user}","branches_url":"https://api.github.com/repos/docker/machine/branches{/branch}","tags_url":"https://api.github.com/repos/docker/machine/tags","blobs_url":"https://api.github.com/repos/docker/machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/machine/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/machine/languages","stargazers_url":"https://api.github.com/repos/docker/machine/stargazers","contributors_url":"https://api.github.com/repos/docker/machine/contributors","subscribers_url":"https://api.github.com/repos/docker/machine/subscribers","subscription_url":"https://api.github.com/repos/docker/machine/subscription","commits_url":"https://api.github.com/repos/docker/machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/machine/contents/{+path}","compare_url":"https://api.github.com/repos/docker/machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/machine/merges","archive_url":"https://api.github.com/repos/docker/machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/machine/downloads","issues_url":"https://api.github.com/repos/docker/machine/issues{/number}","pulls_url":"https://api.github.com/repos/docker/machine/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/machine/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/machine/labels{/name}","releases_url":"https://api.github.com/repos/docker/machine/releases{/id}","created_at":"2014-12-03T15:52:06Z","updated_at":"2015-10-26T15:09:07Z","pushed_at":"2015-10-26T19:54:44Z","git_url":"git://github.com/docker/machine.git","ssh_url":"git@github.com:docker/machine.git","clone_url":"https://github.com/docker/machine.git","svn_url":"https://github.com/docker/machine","homepage":"https://docs.docker.com/machine/","size":39506,"stargazers_count":2601,"watchers_count":2601,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":566,"mirror_url":null,"open_issues_count":395,"forks":566,"open_issues":395,"watchers":2601,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/machine/pulls/2032"},"html":{"href":"https://github.com/docker/machine/pull/2032"},"issue":{"href":"https://api.github.com/repos/docker/machine/issues/2032"},"comments":{"href":"https://api.github.com/repos/docker/machine/issues/2032/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/machine/pulls/2032/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/machine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/machine/pulls/2032/commits"},"statuses":{"href":"https://api.github.com/repos/docker/machine/statuses/ee4a3574411da874aab0c50af36546e98175ace4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"comments":7,"review_comments":9,"commits":1,"additions":82,"deletions":35,"changed_files":3}}