{"action":"created","issue":{"url":"https://api.github.com/repos/CanonicalLtd/multipass/issues/545","repository_url":"https://api.github.com/repos/CanonicalLtd/multipass","labels_url":"https://api.github.com/repos/CanonicalLtd/multipass/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/CanonicalLtd/multipass/issues/545/comments","events_url":"https://api.github.com/repos/CanonicalLtd/multipass/issues/545/events","html_url":"https://github.com/CanonicalLtd/multipass/issues/545","id":392579557,"node_id":"MDU6SXNzdWUzOTI1Nzk1NTc=","number":545,"title":"`multipass restart` should just start instances if they're not running","user":{"login":"Saviq","id":231077,"node_id":"MDQ6VXNlcjIzMTA3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/231077?v=4","gravatar_id":"","url":"https://api.github.com/users/Saviq","html_url":"https://github.com/Saviq","followers_url":"https://api.github.com/users/Saviq/followers","following_url":"https://api.github.com/users/Saviq/following{/other_user}","gists_url":"https://api.github.com/users/Saviq/gists{/gist_id}","starred_url":"https://api.github.com/users/Saviq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saviq/subscriptions","organizations_url":"https://api.github.com/users/Saviq/orgs","repos_url":"https://api.github.com/users/Saviq/repos","events_url":"https://api.github.com/users/Saviq/events{/privacy}","received_events_url":"https://api.github.com/users/Saviq/received_events","type":"User","site_admin":false},"labels":[{"id":777763593,"node_id":"MDU6TGFiZWw3Nzc3NjM1OTM=","url":"https://api.github.com/repos/CanonicalLtd/multipass/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":777763600,"node_id":"MDU6TGFiZWw3Nzc3NjM2MDA=","url":"https://api.github.com/repos/CanonicalLtd/multipass/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T12:29:55Z","updated_at":"2018-12-19T13:01:27Z","closed_at":null,"author_association":"COLLABORATOR","body":"Steps:\r\n- launch an instance\r\n- stop it or suspend\r\n- try to `restart` it\r\n\r\nExpected:\r\n- instance gets started\r\n\r\nCurrent:\r\n- error:\r\n  ```\r\n  restart failed: instance \"preferable-phoenix\" is not running\r\n  ```"},"comment":{"url":"https://api.github.com/repos/CanonicalLtd/multipass/issues/comments/448589021","html_url":"https://github.com/CanonicalLtd/multipass/issues/545#issuecomment-448589021","issue_url":"https://api.github.com/repos/CanonicalLtd/multipass/issues/545","id":448589021,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODU4OTAyMQ==","user":{"login":"townsend2010","id":12715814,"node_id":"MDQ6VXNlcjEyNzE1ODE0","avatar_url":"https://avatars2.githubusercontent.com/u/12715814?v=4","gravatar_id":"","url":"https://api.github.com/users/townsend2010","html_url":"https://github.com/townsend2010","followers_url":"https://api.github.com/users/townsend2010/followers","following_url":"https://api.github.com/users/townsend2010/following{/other_user}","gists_url":"https://api.github.com/users/townsend2010/gists{/gist_id}","starred_url":"https://api.github.com/users/townsend2010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/townsend2010/subscriptions","organizations_url":"https://api.github.com/users/townsend2010/orgs","repos_url":"https://api.github.com/users/townsend2010/repos","events_url":"https://api.github.com/users/townsend2010/events{/privacy}","received_events_url":"https://api.github.com/users/townsend2010/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T13:01:27Z","updated_at":"2018-12-19T13:01:27Z","author_association":"COLLABORATOR","body":"Hmm, I kind of disagree with this.  To me, restart implies something is already running and you want to turn it off and back on again so something is in a known good state.  Otherwise, if something is already shutdown, then it's not restarting it, it's starting it.\r\n\r\nI think there should be a distinction between `start` and `restart` in this sense in that an instance needs to be running in order for it to be restarted."}}
{"actor":{"display_login":"townsend2010"}}