{"action":"closed","number":25792,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/25792","id":81596669,"html_url":"https://github.com/docker/docker/pull/25792","diff_url":"https://github.com/docker/docker/pull/25792.diff","patch_url":"https://github.com/docker/docker/pull/25792.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/25792","number":25792,"state":"closed","locked":false,"title":"Specify woker node for docker swarm leave command","user":{"login":"lixiaobing10051267","id":16774510,"avatar_url":"https://avatars.githubusercontent.com/u/16774510?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiaobing10051267","html_url":"https://github.com/lixiaobing10051267","followers_url":"https://api.github.com/users/lixiaobing10051267/followers","following_url":"https://api.github.com/users/lixiaobing10051267/following{/other_user}","gists_url":"https://api.github.com/users/lixiaobing10051267/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiaobing10051267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiaobing10051267/subscriptions","organizations_url":"https://api.github.com/users/lixiaobing10051267/orgs","repos_url":"https://api.github.com/users/lixiaobing10051267/repos","events_url":"https://api.github.com/users/lixiaobing10051267/events{/privacy}","received_events_url":"https://api.github.com/users/lixiaobing10051267/received_events","type":"User","site_admin":false},"body":"From result of swarm leave command, it is the worker2 left not other woker, so it is better to specify woker2 node:\r\n\r\n    $ docker node ls\r\n    ID                           HOSTNAME  STATUS  AVAILABILITY  MANAGER STATUS\r\n    7ln70fl22uw2dvjn2ft53m3q5    worker2   Down    Active\r\n    dkp8vy1dq1kxleu9g4u78tlag    worker1   Ready   Active        Reachable\r\n    dvfxp4zseq4s0rih1selh0d20 *  manager1  Ready   Active        Leader","created_at":"2016-08-17T07:36:50Z","updated_at":"2016-08-18T15:08:41Z","closed_at":"2016-08-18T15:08:41Z","merged_at":"2016-08-18T15:08:41Z","merge_commit_sha":"90308fd78315412c30da90217ee14515de4fbf8a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/25792/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/25792/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/25792/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/fd660e21bf6568c3f98424bdff3b9672cd2a3ef8","head":{"label":"lixiaobing10051267:masterSwarmLeave","ref":"masterSwarmLeave","sha":"fd660e21bf6568c3f98424bdff3b9672cd2a3ef8","user":{"login":"lixiaobing10051267","id":16774510,"avatar_url":"https://avatars.githubusercontent.com/u/16774510?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiaobing10051267","html_url":"https://github.com/lixiaobing10051267","followers_url":"https://api.github.com/users/lixiaobing10051267/followers","following_url":"https://api.github.com/users/lixiaobing10051267/following{/other_user}","gists_url":"https://api.github.com/users/lixiaobing10051267/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiaobing10051267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiaobing10051267/subscriptions","organizations_url":"https://api.github.com/users/lixiaobing10051267/orgs","repos_url":"https://api.github.com/users/lixiaobing10051267/repos","events_url":"https://api.github.com/users/lixiaobing10051267/events{/privacy}","received_events_url":"https://api.github.com/users/lixiaobing10051267/received_events","type":"User","site_admin":false},"repo":{"id":63405925,"name":"docker","full_name":"lixiaobing10051267/docker","owner":{"login":"lixiaobing10051267","id":16774510,"avatar_url":"https://avatars.githubusercontent.com/u/16774510?v=3","gravatar_id":"","url":"https://api.github.com/users/lixiaobing10051267","html_url":"https://github.com/lixiaobing10051267","followers_url":"https://api.github.com/users/lixiaobing10051267/followers","following_url":"https://api.github.com/users/lixiaobing10051267/following{/other_user}","gists_url":"https://api.github.com/users/lixiaobing10051267/gists{/gist_id}","starred_url":"https://api.github.com/users/lixiaobing10051267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lixiaobing10051267/subscriptions","organizations_url":"https://api.github.com/users/lixiaobing10051267/orgs","repos_url":"https://api.github.com/users/lixiaobing10051267/repos","events_url":"https://api.github.com/users/lixiaobing10051267/events{/privacy}","received_events_url":"https://api.github.com/users/lixiaobing10051267/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lixiaobing10051267/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/lixiaobing10051267/docker","forks_url":"https://api.github.com/repos/lixiaobing10051267/docker/forks","keys_url":"https://api.github.com/repos/lixiaobing10051267/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lixiaobing10051267/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lixiaobing10051267/docker/teams","hooks_url":"https://api.github.com/repos/lixiaobing10051267/docker/hooks","issue_events_url":"https://api.github.com/repos/lixiaobing10051267/docker/issues/events{/number}","events_url":"https://api.github.com/repos/lixiaobing10051267/docker/events","assignees_url":"https://api.github.com/repos/lixiaobing10051267/docker/assignees{/user}","branches_url":"https://api.github.com/repos/lixiaobing10051267/docker/branches{/branch}","tags_url":"https://api.github.com/repos/lixiaobing10051267/docker/tags","blobs_url":"https://api.github.com/repos/lixiaobing10051267/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lixiaobing10051267/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lixiaobing10051267/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/lixiaobing10051267/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lixiaobing10051267/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/lixiaobing10051267/docker/languages","stargazers_url":"https://api.github.com/repos/lixiaobing10051267/docker/stargazers","contributors_url":"https://api.github.com/repos/lixiaobing10051267/docker/contributors","subscribers_url":"https://api.github.com/repos/lixiaobing10051267/docker/subscribers","subscription_url":"https://api.github.com/repos/lixiaobing10051267/docker/subscription","commits_url":"https://api.github.com/repos/lixiaobing10051267/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/lixiaobing10051267/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/lixiaobing10051267/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/lixiaobing10051267/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/lixiaobing10051267/docker/contents/{+path}","compare_url":"https://api.github.com/repos/lixiaobing10051267/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lixiaobing10051267/docker/merges","archive_url":"https://api.github.com/repos/lixiaobing10051267/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lixiaobing10051267/docker/downloads","issues_url":"https://api.github.com/repos/lixiaobing10051267/docker/issues{/number}","pulls_url":"https://api.github.com/repos/lixiaobing10051267/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/lixiaobing10051267/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/lixiaobing10051267/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lixiaobing10051267/docker/labels{/name}","releases_url":"https://api.github.com/repos/lixiaobing10051267/docker/releases{/id}","deployments_url":"https://api.github.com/repos/lixiaobing10051267/docker/deployments","created_at":"2016-07-15T08:39:09Z","updated_at":"2016-07-15T08:39:23Z","pushed_at":"2016-08-18T01:08:30Z","git_url":"git://github.com/lixiaobing10051267/docker.git","ssh_url":"git@github.com:lixiaobing10051267/docker.git","clone_url":"https://github.com/lixiaobing10051267/docker.git","svn_url":"https://github.com/lixiaobing10051267/docker","homepage":"http://www.docker.com","size":99838,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"docker:master","ref":"master","sha":"b0b3249bc2265dcb7a290501dcc93c65f9265848","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":7691631,"name":"docker","full_name":"docker/docker","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/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","deployments_url":"https://api.github.com/repos/docker/docker/deployments","created_at":"2013-01-18T18:10:57Z","updated_at":"2016-08-18T14:23:33Z","pushed_at":"2016-08-18T15:08:41Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":206287,"stargazers_count":34130,"watchers_count":34130,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9972,"mirror_url":null,"open_issues_count":2135,"forks":9972,"open_issues":2135,"watchers":34130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/25792"},"html":{"href":"https://github.com/docker/docker/pull/25792"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/25792"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/25792/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/25792/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/25792/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/fd660e21bf6568c3f98424bdff3b9672cd2a3ef8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"comments":2,"review_comments":3,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"thaJeztah"}}