{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14203","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14203/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14203/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14203/events","html_url":"https://github.com/kubernetes/kubernetes/pull/14203","id":107284718,"number":14203,"title":"let encoder handle unversioned objects","user":{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lgtm","name":"lgtm","color":"15dd18"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/CSI","name":"team/CSI","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-09-18T21:52:39Z","updated_at":"2015-09-22T01:59:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/14203","html_url":"https://github.com/kubernetes/kubernetes/pull/14203","diff_url":"https://github.com/kubernetes/kubernetes/pull/14203.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/14203.patch"},"body":"Part of #14156 \r\n\r\nTypes defined in the unversioned package may or may not have TypeMeta. If it has, e.g., like Status, the encoder will set the kind, but leave the APIVersion blank.\r\n\r\nFor legacy v1 Status, encoder will continue to populate both the kind and version fields.\r\n\r\nThis PR does not touch the decoder, as current decoder will work correctly with the unversioned Status. We will have problems if someone tries to decode types that doesn't have TypeMeta, but we will leave that to a future PR.\r\n\r\n@lavalamp \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/142158828","html_url":"https://github.com/kubernetes/kubernetes/pull/14203#issuecomment-142158828","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/14203","id":142158828,"user":{"login":"k8s-bot","id":12551979,"avatar_url":"https://avatars.githubusercontent.com/u/12551979?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-bot","html_url":"https://github.com/k8s-bot","followers_url":"https://api.github.com/users/k8s-bot/followers","following_url":"https://api.github.com/users/k8s-bot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-bot/subscriptions","organizations_url":"https://api.github.com/users/k8s-bot/orgs","repos_url":"https://api.github.com/users/k8s-bot/repos","events_url":"https://api.github.com/users/k8s-bot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-bot/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T01:59:13Z","updated_at":"2015-09-22T01:59:13Z","body":"GCE e2e build/test **passed** for commit ab5c1f6710ca88b274d927b7197ce02df15f621b.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/ab5c1f6710ca88b274d927b7197ce02df15f621b/kubernetes-pull-build-test-e2e-gce/9576/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/ab5c1f6710ca88b274d927b7197ce02df15f621b/kubernetes-pull-build-test-e2e-gce/9576/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//9576)\n"}}