{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/38882985","id":38882985,"diff_hunk":"@@ -492,6 +492,10 @@ func translateTimestamp(timestamp util.Time) string {\n }\n \n func printPod(pod *api.Pod, w io.Writer, withNamespace bool, wide bool, showAll bool, columnLabels []string) error {\n+\treturn printPodIsShowNecessarily(pod, w, withNamespace, wide, showAll, true, columnLabels)\n+}\n+\n+func printPodIsShowNecessarily(pod *api.Pod, w io.Writer, withNamespace bool, wide bool, showAll bool, showNecessarily bool, columnLabels []string) error {\n \tname := pod.Name","path":"pkg/kubectl/resource_printer.go","position":8,"original_position":8,"commit_id":"f9048e8c3e21ee90b61562d0aa828f17d5189a7f","original_commit_id":"f9048e8c3e21ee90b61562d0aa828f17d5189a7f","user":{"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},"body":"Would suggest instead of \"ShowNecessarily\" I would call this \"printPodBase\"","created_at":"2015-09-08T00:11:31Z","updated_at":"2015-09-08T00:11:31Z","html_url":"https://github.com/kubernetes/kubernetes/pull/13626#discussion_r38882985","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/38882985"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/13626#discussion_r38882985"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626","id":44301276,"html_url":"https://github.com/kubernetes/kubernetes/pull/13626","diff_url":"https://github.com/kubernetes/kubernetes/pull/13626.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/13626.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13626","number":13626,"state":"open","locked":false,"title":"Get the terminated pod by name","user":{"login":"feihujiang","id":2322270,"avatar_url":"https://avatars.githubusercontent.com/u/2322270?v=3","gravatar_id":"","url":"https://api.github.com/users/feihujiang","html_url":"https://github.com/feihujiang","followers_url":"https://api.github.com/users/feihujiang/followers","following_url":"https://api.github.com/users/feihujiang/following{/other_user}","gists_url":"https://api.github.com/users/feihujiang/gists{/gist_id}","starred_url":"https://api.github.com/users/feihujiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feihujiang/subscriptions","organizations_url":"https://api.github.com/users/feihujiang/orgs","repos_url":"https://api.github.com/users/feihujiang/repos","events_url":"https://api.github.com/users/feihujiang/events{/privacy}","received_events_url":"https://api.github.com/users/feihujiang/received_events","type":"User","site_admin":false},"body":"Fixes #13625 ","created_at":"2015-09-06T11:46:10Z","updated_at":"2015-09-08T00:11:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fae3fb9c67a3c8b7c6fb1814c3aa1cb4367cbe5","assignee":{"login":"yujuhong","id":10524058,"avatar_url":"https://avatars.githubusercontent.com/u/10524058?v=3","gravatar_id":"","url":"https://api.github.com/users/yujuhong","html_url":"https://github.com/yujuhong","followers_url":"https://api.github.com/users/yujuhong/followers","following_url":"https://api.github.com/users/yujuhong/following{/other_user}","gists_url":"https://api.github.com/users/yujuhong/gists{/gist_id}","starred_url":"https://api.github.com/users/yujuhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujuhong/subscriptions","organizations_url":"https://api.github.com/users/yujuhong/orgs","repos_url":"https://api.github.com/users/yujuhong/repos","events_url":"https://api.github.com/users/yujuhong/events{/privacy}","received_events_url":"https://api.github.com/users/yujuhong/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13626/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/f9048e8c3e21ee90b61562d0aa828f17d5189a7f","head":{"label":"feihujiang:getTerminatedPodByName","ref":"getTerminatedPodByName","sha":"f9048e8c3e21ee90b61562d0aa828f17d5189a7f","user":{"login":"feihujiang","id":2322270,"avatar_url":"https://avatars.githubusercontent.com/u/2322270?v=3","gravatar_id":"","url":"https://api.github.com/users/feihujiang","html_url":"https://github.com/feihujiang","followers_url":"https://api.github.com/users/feihujiang/followers","following_url":"https://api.github.com/users/feihujiang/following{/other_user}","gists_url":"https://api.github.com/users/feihujiang/gists{/gist_id}","starred_url":"https://api.github.com/users/feihujiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feihujiang/subscriptions","organizations_url":"https://api.github.com/users/feihujiang/orgs","repos_url":"https://api.github.com/users/feihujiang/repos","events_url":"https://api.github.com/users/feihujiang/events{/privacy}","received_events_url":"https://api.github.com/users/feihujiang/received_events","type":"User","site_admin":false},"repo":{"id":32961171,"name":"kubernetes","full_name":"feihujiang/kubernetes","owner":{"login":"feihujiang","id":2322270,"avatar_url":"https://avatars.githubusercontent.com/u/2322270?v=3","gravatar_id":"","url":"https://api.github.com/users/feihujiang","html_url":"https://github.com/feihujiang","followers_url":"https://api.github.com/users/feihujiang/followers","following_url":"https://api.github.com/users/feihujiang/following{/other_user}","gists_url":"https://api.github.com/users/feihujiang/gists{/gist_id}","starred_url":"https://api.github.com/users/feihujiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feihujiang/subscriptions","organizations_url":"https://api.github.com/users/feihujiang/orgs","repos_url":"https://api.github.com/users/feihujiang/repos","events_url":"https://api.github.com/users/feihujiang/events{/privacy}","received_events_url":"https://api.github.com/users/feihujiang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feihujiang/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/feihujiang/kubernetes","forks_url":"https://api.github.com/repos/feihujiang/kubernetes/forks","keys_url":"https://api.github.com/repos/feihujiang/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feihujiang/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feihujiang/kubernetes/teams","hooks_url":"https://api.github.com/repos/feihujiang/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/feihujiang/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/feihujiang/kubernetes/events","assignees_url":"https://api.github.com/repos/feihujiang/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/feihujiang/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/feihujiang/kubernetes/tags","blobs_url":"https://api.github.com/repos/feihujiang/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feihujiang/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feihujiang/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/feihujiang/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feihujiang/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/feihujiang/kubernetes/languages","stargazers_url":"https://api.github.com/repos/feihujiang/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/feihujiang/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/feihujiang/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/feihujiang/kubernetes/subscription","commits_url":"https://api.github.com/repos/feihujiang/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/feihujiang/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/feihujiang/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/feihujiang/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/feihujiang/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/feihujiang/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feihujiang/kubernetes/merges","archive_url":"https://api.github.com/repos/feihujiang/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feihujiang/kubernetes/downloads","issues_url":"https://api.github.com/repos/feihujiang/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/feihujiang/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/feihujiang/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/feihujiang/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feihujiang/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/feihujiang/kubernetes/releases{/id}","created_at":"2015-03-27T01:23:13Z","updated_at":"2015-06-14T00:12:32Z","pushed_at":"2015-09-07T09:08:27Z","git_url":"git://github.com/feihujiang/kubernetes.git","ssh_url":"git@github.com:feihujiang/kubernetes.git","clone_url":"https://github.com/feihujiang/kubernetes.git","svn_url":"https://github.com/feihujiang/kubernetes","homepage":"http://kubernetes.io","size":104459,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"2e2def36a904fe9a197da5fc70e433e2e884442f","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-09-07T23:03:41Z","pushed_at":"2015-09-07T23:53:34Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":393079,"stargazers_count":10109,"watchers_count":10109,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2470,"mirror_url":null,"open_issues_count":1684,"forks":2470,"open_issues":1684,"watchers":10109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/13626"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/13626"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/13626/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13626/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/f9048e8c3e21ee90b61562d0aa828f17d5189a7f"}}}}