{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/232","labels_url":"https://api.github.com/repos/docker/swarm/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/232/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/232/events","html_url":"https://github.com/docker/swarm/pull/232","id":53918777,"number":232,"title":"Proposal: add a `list` discovery service to give a list of ips","user":{"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},"labels":[],"state":"open","locked":false,"assignee":{"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},"milestone":null,"comments":6,"created_at":"2015-01-09T21:45:54Z","updated_at":"2015-01-13T21:53:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/swarm/pulls/232","html_url":"https://github.com/docker/swarm/pull/232","diff_url":"https://github.com/docker/swarm/pull/232.diff","patch_url":"https://github.com/docker/swarm/pull/232.patch"},"body":"Right now it feels weird that you can pass ips as argument to swarm manage, it's documented nowhere.\r\nAlso, when you start `swarm manage` without any argument it seems to hang.\r\n\r\nI propose to change this to a new discovery system so\r\n\r\n`swarm manage 1.1.1.1:1111 2.2.2.2:2222` will become `swarm manage --discovery list://1.1.1.1:1111,2.2.2.2:2222`\r\n\r\nand `swarm manage` will output `FATA[0000] --discovery required to manage a cluster`"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/69827757","html_url":"https://github.com/docker/swarm/pull/232#issuecomment-69827757","issue_url":"https://api.github.com/repos/docker/swarm/issues/232","id":69827757,"user":{"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},"created_at":"2015-01-13T21:53:14Z","updated_at":"2015-01-13T21:53:14Z","body":"I've decided to leave `--discovery` in this PR mainly for the usage, if we remove it we need to rework the usage, otherwise it's becoming not clear.\r\n\r\nLet's work on this in another PR"}}