{"action":"created","issue":{"url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/issues/31","labels_url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/issues/31/comments","events_url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/issues/31/events","html_url":"https://github.com/MSOpenTech/azure-xplat-cli/issues/31","id":39127398,"number":31,"title":"Code review comment to consider: Check for \"error && error.isSuccessful\"","user":{"login":"anuchandy","id":1471612,"avatar_url":"https://avatars.githubusercontent.com/u/1471612?v=3","gravatar_id":"","url":"https://api.github.com/users/anuchandy","html_url":"https://github.com/anuchandy","followers_url":"https://api.github.com/users/anuchandy/followers","following_url":"https://api.github.com/users/anuchandy/following{/other_user}","gists_url":"https://api.github.com/users/anuchandy/gists{/gist_id}","starred_url":"https://api.github.com/users/anuchandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuchandy/subscriptions","organizations_url":"https://api.github.com/users/anuchandy/orgs","repos_url":"https://api.github.com/users/anuchandy/repos","events_url":"https://api.github.com/users/anuchandy/events{/privacy}","received_events_url":"https://api.github.com/users/anuchandy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/labels/compute","name":"compute","color":"207de5"},{"url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-07-30T19:22:00Z","updated_at":"2016-01-06T11:41:36Z","closed_at":"2016-01-06T11:41:36Z","body":"lib/commands/asm/iaas/image.js line 355: Address yugangw-msft  comment: will it possible that \"error && error.isSuccessful\"? If not, then we should drop \"!error.isSuccessful\", or throw a generic error. Anyway, we should fail at the first place"},"comment":{"url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/issues/comments/169305223","html_url":"https://github.com/MSOpenTech/azure-xplat-cli/issues/31#issuecomment-169305223","issue_url":"https://api.github.com/repos/MSOpenTech/azure-xplat-cli/issues/31","id":169305223,"user":{"login":"romangromov","id":1655573,"avatar_url":"https://avatars.githubusercontent.com/u/1655573?v=3","gravatar_id":"","url":"https://api.github.com/users/romangromov","html_url":"https://github.com/romangromov","followers_url":"https://api.github.com/users/romangromov/followers","following_url":"https://api.github.com/users/romangromov/following{/other_user}","gists_url":"https://api.github.com/users/romangromov/gists{/gist_id}","starred_url":"https://api.github.com/users/romangromov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romangromov/subscriptions","organizations_url":"https://api.github.com/users/romangromov/orgs","repos_url":"https://api.github.com/users/romangromov/repos","events_url":"https://api.github.com/users/romangromov/events{/privacy}","received_events_url":"https://api.github.com/users/romangromov/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T11:41:36Z","updated_at":"2016-01-06T11:41:36Z","body":"Please re-open if we still need this"}}