{"action":"created","issue":{"url":"https://api.github.com/repos/endocode/fleet/issues/5","repository_url":"https://api.github.com/repos/endocode/fleet","labels_url":"https://api.github.com/repos/endocode/fleet/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/endocode/fleet/issues/5/comments","events_url":"https://api.github.com/repos/endocode/fleet/issues/5/events","html_url":"https://github.com/endocode/fleet/pull/5","id":135424805,"number":5,"title":"fleetctl: {load|unload|start|stop} and get unit code cleanups","user":{"login":"tixxdz","id":1549291,"avatar_url":"https://avatars.githubusercontent.com/u/1549291?v=3","gravatar_id":"","url":"https://api.github.com/users/tixxdz","html_url":"https://github.com/tixxdz","followers_url":"https://api.github.com/users/tixxdz/followers","following_url":"https://api.github.com/users/tixxdz/following{/other_user}","gists_url":"https://api.github.com/users/tixxdz/gists{/gist_id}","starred_url":"https://api.github.com/users/tixxdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tixxdz/subscriptions","organizations_url":"https://api.github.com/users/tixxdz/orgs","repos_url":"https://api.github.com/users/tixxdz/repos","events_url":"https://api.github.com/users/tixxdz/events{/privacy}","received_events_url":"https://api.github.com/users/tixxdz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-22T14:00:03Z","updated_at":"2016-02-22T14:05:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/endocode/fleet/pulls/5","html_url":"https://github.com/endocode/fleet/pull/5","diff_url":"https://github.com/endocode/fleet/pull/5.diff","patch_url":"https://github.com/endocode/fleet/pull/5.patch"},"body":"This patches set aims to make the code more consistent and robust. It does not change the current behaviour just improves the code, consolidate it, more debug logs and code comments.\r\n\r\nThe main goal is to let stop, start, load and unload to share the same code base and probably avoid any corner case or bug that may related to one of these commands.\r\n\r\nSome logic can be easily shared later when we add stop to destroy command to solve #1000\r\n\r\nThere were some TODOs in the code base that I cleaned up with the last two patches. These patches will make it easy for us to implement later #1295"},"comment":{"url":"https://api.github.com/repos/endocode/fleet/issues/comments/187187848","html_url":"https://github.com/endocode/fleet/pull/5#issuecomment-187187848","issue_url":"https://api.github.com/repos/endocode/fleet/issues/5","id":187187848,"user":{"login":"endocode-ci","id":17407263,"avatar_url":"https://avatars.githubusercontent.com/u/17407263?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode-ci","html_url":"https://github.com/endocode-ci","followers_url":"https://api.github.com/users/endocode-ci/followers","following_url":"https://api.github.com/users/endocode-ci/following{/other_user}","gists_url":"https://api.github.com/users/endocode-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode-ci/subscriptions","organizations_url":"https://api.github.com/users/endocode-ci/orgs","repos_url":"https://api.github.com/users/endocode-ci/repos","events_url":"https://api.github.com/users/endocode-ci/events{/privacy}","received_events_url":"https://api.github.com/users/endocode-ci/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T14:05:11Z","updated_at":"2016-02-22T14:05:11Z","body":"Build started sha1 is merged.\n"}}