{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/24017","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/24017/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/24017/comments","events_url":"https://api.github.com/repos/docker/docker/issues/24017/events","html_url":"https://github.com/docker/docker/issues/24017","id":162574193,"number":24017,"title":"Expose Swarm-mode Listen Address through Info for non-Managers","user":{"login":"alexmavr","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/alexmavr","html_url":"https://github.com/alexmavr","followers_url":"https://api.github.com/users/alexmavr/followers","following_url":"https://api.github.com/users/alexmavr/following{/other_user}","gists_url":"https://api.github.com/users/alexmavr/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmavr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmavr/subscriptions","organizations_url":"https://api.github.com/users/alexmavr/orgs","repos_url":"https://api.github.com/users/alexmavr/repos","events_url":"https://api.github.com/users/alexmavr/events{/privacy}","received_events_url":"https://api.github.com/users/alexmavr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T23:56:31Z","updated_at":"2016-06-27T23:59:25Z","closed_at":null,"body":"When joining an existing swarm-mode cluster as a non-manager, it's possible to specify a listen address through `--listen-addr`. \r\n\r\nManagers can later retrieve that information through `node inspect` as `Node.ManagerStatus.Addr`, but there is no way for a non-manager to retrieve their own `--listen-addr` parameter.\r\n\r\nMy recommendation is to add an `Addr` field to the `swarm.Info` struct which exposes the configured `--listen-addr` argument in a `host:port` format."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/228911357","html_url":"https://github.com/docker/docker/issues/24017#issuecomment-228911357","issue_url":"https://api.github.com/repos/docker/docker/issues/24017","id":228911357,"user":{"login":"dperny","id":2367858,"avatar_url":"https://avatars.githubusercontent.com/u/2367858?v=3","gravatar_id":"","url":"https://api.github.com/users/dperny","html_url":"https://github.com/dperny","followers_url":"https://api.github.com/users/dperny/followers","following_url":"https://api.github.com/users/dperny/following{/other_user}","gists_url":"https://api.github.com/users/dperny/gists{/gist_id}","starred_url":"https://api.github.com/users/dperny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dperny/subscriptions","organizations_url":"https://api.github.com/users/dperny/orgs","repos_url":"https://api.github.com/users/dperny/repos","events_url":"https://api.github.com/users/dperny/events{/privacy}","received_events_url":"https://api.github.com/users/dperny/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T23:59:25Z","updated_at":"2016-06-27T23:59:25Z","body":"I'm working on this."}}
{"actor":{"display_login":"dperny"}}