{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarmkit/issues/1440","repository_url":"https://api.github.com/repos/docker/swarmkit","labels_url":"https://api.github.com/repos/docker/swarmkit/issues/1440/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/1440/comments","events_url":"https://api.github.com/repos/docker/swarmkit/issues/1440/events","html_url":"https://github.com/docker/swarmkit/pull/1440","id":173163003,"number":1440,"title":"Agent: handle errors of manager run","user":{"login":"jinuxstyle","id":4818028,"avatar_url":"https://avatars.githubusercontent.com/u/4818028?v=3","gravatar_id":"","url":"https://api.github.com/users/jinuxstyle","html_url":"https://github.com/jinuxstyle","followers_url":"https://api.github.com/users/jinuxstyle/followers","following_url":"https://api.github.com/users/jinuxstyle/following{/other_user}","gists_url":"https://api.github.com/users/jinuxstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/jinuxstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinuxstyle/subscriptions","organizations_url":"https://api.github.com/users/jinuxstyle/orgs","repos_url":"https://api.github.com/users/jinuxstyle/repos","events_url":"https://api.github.com/users/jinuxstyle/events{/privacy}","received_events_url":"https://api.github.com/users/jinuxstyle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarmkit/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T10:04:01Z","updated_at":"2016-08-25T10:06:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/swarmkit/pulls/1440","html_url":"https://github.com/docker/swarmkit/pull/1440","diff_url":"https://github.com/docker/swarmkit/pull/1440.diff","patch_url":"https://github.com/docker/swarmkit/pull/1440.patch"},"body":"Fixes #1409 .\r\n\r\nThe manager part could exit due to various reasons including\r\ndemotion, raft node failure or Stop call. Upon raft node failure,\r\nit would be meaningless to wait for role change to agent. We\r\nshould either recover or fail out. This patch chose the later\r\napproach.\r\n\r\nPointed out by @tonistiigi in PR #1283.\r\n\r\nSigned-off-by: Jin Xu <jinuxstyle@hotmail.com>"},"comment":{"url":"https://api.github.com/repos/docker/swarmkit/issues/comments/242338783","html_url":"https://github.com/docker/swarmkit/pull/1440#issuecomment-242338783","issue_url":"https://api.github.com/repos/docker/swarmkit/issues/1440","id":242338783,"user":{"login":"jinuxstyle","id":4818028,"avatar_url":"https://avatars.githubusercontent.com/u/4818028?v=3","gravatar_id":"","url":"https://api.github.com/users/jinuxstyle","html_url":"https://github.com/jinuxstyle","followers_url":"https://api.github.com/users/jinuxstyle/followers","following_url":"https://api.github.com/users/jinuxstyle/following{/other_user}","gists_url":"https://api.github.com/users/jinuxstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/jinuxstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinuxstyle/subscriptions","organizations_url":"https://api.github.com/users/jinuxstyle/orgs","repos_url":"https://api.github.com/users/jinuxstyle/repos","events_url":"https://api.github.com/users/jinuxstyle/events{/privacy}","received_events_url":"https://api.github.com/users/jinuxstyle/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T10:06:42Z","updated_at":"2016-08-25T10:06:42Z","body":"/cc @LK4D4 @tonistiigi @stevvooe "}}
{"actor":{"display_login":"jinuxstyle"}}