{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24993","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24993/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24993/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24993/events","html_url":"https://github.com/docker/docker/pull/24993","id":167282946,"number":24993,"title":"Allow swarm join with `--availability=drain`","user":{"login":"yongtang","id":6932348,"avatar_url":"https://avatars.githubusercontent.com/u/6932348?v=3","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"labels":[{"id":175375407,"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":{"login":"aluzzardi","id":179503,"avatar_url":"https://avatars.githubusercontent.com/u/179503?v=3","gravatar_id":"","url":"https://api.github.com/users/aluzzardi","html_url":"https://github.com/aluzzardi","followers_url":"https://api.github.com/users/aluzzardi/followers","following_url":"https://api.github.com/users/aluzzardi/following{/other_user}","gists_url":"https://api.github.com/users/aluzzardi/gists{/gist_id}","starred_url":"https://api.github.com/users/aluzzardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluzzardi/subscriptions","organizations_url":"https://api.github.com/users/aluzzardi/orgs","repos_url":"https://api.github.com/users/aluzzardi/repos","events_url":"https://api.github.com/users/aluzzardi/events{/privacy}","received_events_url":"https://api.github.com/users/aluzzardi/received_events","type":"User","site_admin":false},"assignees":[{"login":"aluzzardi","id":179503,"avatar_url":"https://avatars.githubusercontent.com/u/179503?v=3","gravatar_id":"","url":"https://api.github.com/users/aluzzardi","html_url":"https://github.com/aluzzardi","followers_url":"https://api.github.com/users/aluzzardi/followers","following_url":"https://api.github.com/users/aluzzardi/following{/other_user}","gists_url":"https://api.github.com/users/aluzzardi/gists{/gist_id}","starred_url":"https://api.github.com/users/aluzzardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluzzardi/subscriptions","organizations_url":"https://api.github.com/users/aluzzardi/orgs","repos_url":"https://api.github.com/users/aluzzardi/repos","events_url":"https://api.github.com/users/aluzzardi/events{/privacy}","received_events_url":"https://api.github.com/users/aluzzardi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/60","html_url":"https://github.com/docker/docker/milestone/60","labels_url":"https://api.github.com/repos/docker/docker/milestones/60/labels","id":2126145,"number":60,"title":"1.14.0","description":null,"creator":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":138,"state":"open","created_at":"2016-11-10T02:23:44Z","updated_at":"2016-12-21T21:08:05Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2016-07-25T05:00:34Z","updated_at":"2016-12-21T21:35:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/24993","html_url":"https://github.com/docker/docker/pull/24993","diff_url":"https://github.com/docker/docker/pull/24993.diff","patch_url":"https://github.com/docker/docker/pull/24993.patch"},"body":"**\\- What I did**\r\n\r\nThis fix tries to address the issue raised in #24596 where it was not possible to join as manager only (`--availability=drain`).\r\n\r\n**The related PR in swarmkit is:**\r\nhttps://github.com/docker/swarmkit/pull/1271\r\n\r\n**\\- How I did it**\r\n\r\nThis fix adds a new flag `--availability` to `swarm join`.\r\n\r\n**\\- How to verify it**\r\n\r\nAn integration test has been added.\r\n\r\n**\\- Description for the changelog**\r\n\r\nAdd a new flag `--availability` to `swarm join`.\r\n\r\n**\\- A picture of a cute animal (not mandatory but encouraged)**\r\n\r\nThis fix fixes #24596.\r\n\r\n**The related PR in swarmkit is:**\r\n\r\nhttps://github.com/docker/swarmkit/pull/1271"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/268646627","html_url":"https://github.com/docker/docker/pull/24993#issuecomment-268646627","issue_url":"https://api.github.com/repos/docker/docker/issues/24993","id":268646627,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T21:35:44Z","updated_at":"2016-12-21T21:35:44Z","body":"What's the status here?"}}
{"actor":{"display_login":"cpuguy83"}}