{"action":"created","issue":{"url":"https://api.github.com/repos/ubuntu-core/snappy/issues/627","repository_url":"https://api.github.com/repos/ubuntu-core/snappy","labels_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/627/labels{/name}","comments_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/627/comments","events_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/627/events","html_url":"https://github.com/ubuntu-core/snappy/pull/627","id":139851648,"number":627,"title":"daemon,cmd/snapd: allow daemon.New() to fail","user":{"login":"zyga","id":784262,"avatar_url":"https://avatars.githubusercontent.com/u/784262?v=3","gravatar_id":"","url":"https://api.github.com/users/zyga","html_url":"https://github.com/zyga","followers_url":"https://api.github.com/users/zyga/followers","following_url":"https://api.github.com/users/zyga/following{/other_user}","gists_url":"https://api.github.com/users/zyga/gists{/gist_id}","starred_url":"https://api.github.com/users/zyga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyga/subscriptions","organizations_url":"https://api.github.com/users/zyga/orgs","repos_url":"https://api.github.com/users/zyga/repos","events_url":"https://api.github.com/users/zyga/events{/privacy}","received_events_url":"https://api.github.com/users/zyga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-10T10:45:47Z","updated_at":"2016-03-14T12:44:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ubuntu-core/snappy/pulls/627","html_url":"https://github.com/ubuntu-core/snappy/pull/627","diff_url":"https://github.com/ubuntu-core/snappy/pull/627.diff","patch_url":"https://github.com/ubuntu-core/snappy/pull/627.patch"},"body":"This patch changes daemon.New() to return the created Daemon instance as\r\nwell as an error. This lets us get rid of panic() calls that started to\r\nswarm in there.\r\n\r\nSigned-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>"},"comment":{"url":"https://api.github.com/repos/ubuntu-core/snappy/issues/comments/196294706","html_url":"https://github.com/ubuntu-core/snappy/pull/627#issuecomment-196294706","issue_url":"https://api.github.com/repos/ubuntu-core/snappy/issues/627","id":196294706,"user":{"login":"niemeyer","id":378683,"avatar_url":"https://avatars.githubusercontent.com/u/378683?v=3","gravatar_id":"","url":"https://api.github.com/users/niemeyer","html_url":"https://github.com/niemeyer","followers_url":"https://api.github.com/users/niemeyer/followers","following_url":"https://api.github.com/users/niemeyer/following{/other_user}","gists_url":"https://api.github.com/users/niemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/niemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemeyer/subscriptions","organizations_url":"https://api.github.com/users/niemeyer/orgs","repos_url":"https://api.github.com/users/niemeyer/repos","events_url":"https://api.github.com/users/niemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/niemeyer/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T12:44:27Z","updated_at":"2016-03-14T12:44:27Z","body":"LGTM"}}