{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/2539","repository_url":"https://api.github.com/repos/docker/swarm","labels_url":"https://api.github.com/repos/docker/swarm/issues/2539/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/2539/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/2539/events","html_url":"https://github.com/docker/swarm/pull/2539","id":187771822,"number":2539,"title":"Return a 500 for _ping if there is no elected primary","user":{"login":"wsong","id":616361,"avatar_url":"https://avatars.githubusercontent.com/u/616361?v=3","gravatar_id":"","url":"https://api.github.com/users/wsong","html_url":"https://github.com/wsong","followers_url":"https://api.github.com/users/wsong/followers","following_url":"https://api.github.com/users/wsong/following{/other_user}","gists_url":"https://api.github.com/users/wsong/gists{/gist_id}","starred_url":"https://api.github.com/users/wsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsong/subscriptions","organizations_url":"https://api.github.com/users/wsong/orgs","repos_url":"https://api.github.com/users/wsong/repos","events_url":"https://api.github.com/users/wsong/events{/privacy}","received_events_url":"https://api.github.com/users/wsong/received_events","type":"User","site_admin":false},"labels":[{"id":207688457,"url":"https://api.github.com/repos/docker/swarm/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/swarm/milestones/16","html_url":"https://github.com/docker/swarm/milestones/1.2.6","labels_url":"https://api.github.com/repos/docker/swarm/milestones/16/labels","id":1937879,"number":16,"title":"1.2.6","description":"","creator":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":2,"state":"open","created_at":"2016-08-11T21:13:12Z","updated_at":"2016-11-11T21:49:21Z","due_on":"2016-10-07T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-11-07T17:16:02Z","updated_at":"2016-11-18T19:03:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/swarm/pulls/2539","html_url":"https://github.com/docker/swarm/pull/2539","diff_url":"https://github.com/docker/swarm/pull/2539.diff","patch_url":"https://github.com/docker/swarm/pull/2539.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/261613721","html_url":"https://github.com/docker/swarm/pull/2539#issuecomment-261613721","issue_url":"https://api.github.com/repos/docker/swarm/issues/2539","id":261613721,"user":{"login":"dongluochen","id":14985073,"avatar_url":"https://avatars.githubusercontent.com/u/14985073?v=3","gravatar_id":"","url":"https://api.github.com/users/dongluochen","html_url":"https://github.com/dongluochen","followers_url":"https://api.github.com/users/dongluochen/followers","following_url":"https://api.github.com/users/dongluochen/following{/other_user}","gists_url":"https://api.github.com/users/dongluochen/gists{/gist_id}","starred_url":"https://api.github.com/users/dongluochen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongluochen/subscriptions","organizations_url":"https://api.github.com/users/dongluochen/orgs","repos_url":"https://api.github.com/users/dongluochen/repos","events_url":"https://api.github.com/users/dongluochen/events{/privacy}","received_events_url":"https://api.github.com/users/dongluochen/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T19:03:14Z","updated_at":"2016-11-18T19:03:14Z","body":"Essentially you are trying to change `/_ping` from local request to a cluster request. I think it can be done like below. \r\n\r\n```\r\n - var localRoutes = []string{\"/info\", \"/_ping\", \"/debug\"}\r\n + var localRoutes = []string{\"/info\", \"/debug\"}\r\n```"}}
{"actor":{"display_login":"dongluochen"}}