{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5032","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5032/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5032/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5032/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5032","id":59838197,"number":5032,"title":"Refactor pkg/kubelet/kubelet.go: syncPod().","user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"ECF7EC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T18:17:11Z","updated_at":"2015-03-04T18:23:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/5032","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5032","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5032.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5032.patch"},"body":"Makes the syncPod() takes only the containers that belongs to the pod."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/77214912","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/5032#issuecomment-77214912","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5032","id":77214912,"user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T18:23:53Z","updated_at":"2015-03-04T18:23:53Z","body":"Ideally, I think it could be better for `syncPod()` to take only two pod level parameters. (e.g. `syncPod(pod *api.BoundPod, runningPod *api.Pod)`)\r\n\r\nThis can benefits us for a clean logic in syncPod, also it can makes the way easier for integrating `rocket` or other container runtime later.\r\n\r\nFeedback highly appreciated! \r\nThank you!\r\n"}}