{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/10965","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/10965/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/10965/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/10965/events","html_url":"https://github.com/openshift/origin/pull/10965","id":177508780,"number":10965,"title":"UPSTREAM: 33024: Make status errors with  multiple causes cleaner","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":3,"created_at":"2016-09-16T20:03:23Z","updated_at":"2016-09-22T18:22:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/10965","html_url":"https://github.com/openshift/origin/pull/10965","diff_url":"https://github.com/openshift/origin/pull/10965.diff","patch_url":"https://github.com/openshift/origin/pull/10965.patch"},"body":"UPSTREAM: https://github.com/kubernetes/kubernetes/pull/33024\r\nRelated BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1355703\r\n\r\nInvalid status errors for resources are printed without any formatting.\r\nThis makes an error message hard to read when the error contains\r\nmultiple causes.\r\n\r\nThis patch loops through all of the error's causes, and prints each one\r\nin its own line.\r\n\r\n##### Before\r\n```\r\n$ oc set probe dc/hello --liveness --get-url=\"www.sample.com:80\"\r\n\r\nerror: DeploymentConfig \"hello\" is invalid: [spec.template.spec.containers[0].livenessProbe.httpGet.port: \r\nInvalid value: \"\": must be an IANA_SVC_NAME (at most 15 characters, matching regex [a-z0-9]([a-z0-9-]*\r\n[a-z0-9])*, it must contain at least one letter [a-z], and hyphens cannot be adjacent to other hyphens): e.g.\r\n\"http\", spec.template.spec.containers[0].livenessProbe.httpGet.scheme: Invalid value: \r\n\"WWW.SAMPLE.COM\": must be one of [HTTP HTTPS]]\r\n```\r\n\r\n##### After\r\n\r\n```\r\n$ oc set probe dc/hello --liveness --get-url=\"www.sample.com:80\"\r\nerror: DeploymentConfig \"hello\" is invalid\r\n\r\n* spec.template.spec.containers[0].livenessProbe.httpGet.port: Invalid value: \"\": must be an IANA_SVC_NAME (at most 15 characters, matching regex [a-z0-9]([a-z0-9-]*[a-z0-9])*, it must contain at least one letter [a-z], and hyphens cannot be adjacent to other hyphens): e.g. \"http\"\r\n* spec.template.spec.containers[0].livenessProbe.httpGet.scheme: Invalid value: \"WWW.SAMPLE.COM\": must be one of [HTTP HTTPS]\r\n```\r\n\r\n@openshift/cli-review "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/248985697","html_url":"https://github.com/openshift/origin/pull/10965#issuecomment-248985697","issue_url":"https://api.github.com/repos/openshift/origin/issues/10965","id":248985697,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T18:22:33Z","updated_at":"2016-09-22T18:22:33Z","body":"continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/9157/)"}}
{"actor":{"display_login":"openshift-bot"}}