{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/10915","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/10915/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10915/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/10915/events","html_url":"https://github.com/openshift/origin/pull/10915","id":177014119,"number":10915,"title":"UPSTREAM: 32722: warn on empty oc get output","user":{"login":"juanvallejo","id":3902875,"avatar_url":"https://avatars.githubusercontent.com/u/3902875?v=3","gravatar_id":"","url":"https://api.github.com/users/juanvallejo","html_url":"https://github.com/juanvallejo","followers_url":"https://api.github.com/users/juanvallejo/followers","following_url":"https://api.github.com/users/juanvallejo/following{/other_user}","gists_url":"https://api.github.com/users/juanvallejo/gists{/gist_id}","starred_url":"https://api.github.com/users/juanvallejo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanvallejo/subscriptions","organizations_url":"https://api.github.com/users/juanvallejo/orgs","repos_url":"https://api.github.com/users/juanvallejo/repos","events_url":"https://api.github.com/users/juanvallejo/events{/privacy}","received_events_url":"https://api.github.com/users/juanvallejo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-14T20:37:24Z","updated_at":"2016-10-13T18:36:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10915","html_url":"https://github.com/openshift/origin/pull/10915","diff_url":"https://github.com/openshift/origin/pull/10915.diff","patch_url":"https://github.com/openshift/origin/pull/10915.patch"},"body":"UPSTREAM: https://github.com/kubernetes/kubernetes/pull/32722\r\n\r\nFixes: https://github.com/openshift/origin/issues/10285\r\nRelated Trello Card:\r\nhttps://trello.com/c/04lpfTQR/451-8-cli-improved-flows-and-ux-in-the-cli-evg-ux-p3\r\n\r\nThe current default behavior of `oc get` is to return an empty\r\noutput when there are no resources to display. This patch improves\r\nusability by returning a warning through stderr in the case of an empty\r\nlist.\r\n\r\n##### Before\r\n`$ oc get roles`\r\n*empty output*\r\n\r\n##### After\r\n`oc get roles`\r\n```\r\nThere are no resources to display.\r\n```\r\n\r\ncc @openshift/cli-review "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/253599962","html_url":"https://github.com/openshift/origin/pull/10915#issuecomment-253599962","issue_url":"https://api.github.com/repos/openshift/origin/issues/10915","id":253599962,"user":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T18:36:43Z","updated_at":"2016-10-13T18:36:43Z","body":"[merge], nice usability improvement."}}
{"actor":{"display_login":"fabianofranz"}}