{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22840","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22840/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22840/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22840/events","html_url":"https://github.com/kubernetes/kubernetes/pull/22840","id":140085614,"number":22840,"title":"Prefer fetched version when determining HPA group version kind","user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/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/size/M","name":"size/M","color":"eebb00"}],"state":"open","locked":false,"assignee":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-03-11T04:49:10Z","updated_at":"2016-03-11T07:20:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/22840","html_url":"https://github.com/kubernetes/kubernetes/pull/22840","diff_url":"https://github.com/kubernetes/kubernetes/pull/22840.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/22840.patch"},"body":"Related to #22484 for `kubectl get <type>` list cases"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/195230120","html_url":"https://github.com/kubernetes/kubernetes/pull/22840#issuecomment-195230120","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/22840","id":195230120,"user":{"login":"nikhiljindal","id":10199099,"avatar_url":"https://avatars.githubusercontent.com/u/10199099?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhiljindal","html_url":"https://github.com/nikhiljindal","followers_url":"https://api.github.com/users/nikhiljindal/followers","following_url":"https://api.github.com/users/nikhiljindal/following{/other_user}","gists_url":"https://api.github.com/users/nikhiljindal/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhiljindal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhiljindal/subscriptions","organizations_url":"https://api.github.com/users/nikhiljindal/orgs","repos_url":"https://api.github.com/users/nikhiljindal/repos","events_url":"https://api.github.com/users/nikhiljindal/events{/privacy}","received_events_url":"https://api.github.com/users/nikhiljindal/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T07:20:27Z","updated_at":"2016-03-11T07:20:27Z","body":"LGTM, thanks!\r\n\r\nWe should look closely at other InfoForObject() calls as well and see if we can pass meaningful preferredGVKs. We should return an error if we cant rather than silently choosing a random one.\r\nThis is strictly better than the current state since it atleast fixes `kubectl get`."}}