{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15268","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15268/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15268/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15268/events","html_url":"https://github.com/kubernetes/kubernetes/pull/15268","id":110333375,"number":15268,"title":"Use PATCH instead of PUT when update events","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/size/L","name":"size/L","color":"ee9900"}],"state":"open","locked":false,"assignee":{"login":"krousey","id":157083,"avatar_url":"https://avatars.githubusercontent.com/u/157083?v=3","gravatar_id":"","url":"https://api.github.com/users/krousey","html_url":"https://github.com/krousey","followers_url":"https://api.github.com/users/krousey/followers","following_url":"https://api.github.com/users/krousey/following{/other_user}","gists_url":"https://api.github.com/users/krousey/gists{/gist_id}","starred_url":"https://api.github.com/users/krousey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krousey/subscriptions","organizations_url":"https://api.github.com/users/krousey/orgs","repos_url":"https://api.github.com/users/krousey/repos","events_url":"https://api.github.com/users/krousey/events{/privacy}","received_events_url":"https://api.github.com/users/krousey/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-10-07T22:45:33Z","updated_at":"2015-10-12T20:52:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/15268","html_url":"https://github.com/kubernetes/kubernetes/pull/15268","diff_url":"https://github.com/kubernetes/kubernetes/pull/15268.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/15268.patch"},"body":"Fix #14126\r\n\r\n#14126 identifies the problem that we accidentally wipe out the UID when update an Event. Update of an Event occurs when we compress events, so it requires updating the `Event.Count` and `Event.LastTimeStamp`. This PR uses \"patch\" instead of \"update\" when we need to modify an event, so fields other than the above two won't be changed.\r\n\r\nPlease ignore the first commit \"increase the on-wire precision of time\" which is in PR #15263. This PR needs this fix to pass the unit test.\r\n\r\n@saad-ali @vishh @liggitt @jiangyaoguo @bgrant0607 @lavalamp "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/147516401","html_url":"https://github.com/kubernetes/kubernetes/pull/15268#issuecomment-147516401","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/15268","id":147516401,"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-10-12T20:52:31Z","updated_at":"2015-10-12T20:52:31Z","body":"GCE e2e test build/test **passed** for commit 81488946714eefdf8080521270f0b8d00cb85ea8.\n* [Build Log](https://storage.cloud.google.com/kubernetes-jenkins/pr-logs/81488946714eefdf8080521270f0b8d00cb85ea8/kubernetes-pull-build-test-e2e-gce/12401/build-log.txt)\n* [Test Artifacts](https://console.developers.google.com/storage/browser/kubernetes-jenkins/pr-logs/81488946714eefdf8080521270f0b8d00cb85ea8/kubernetes-pull-build-test-e2e-gce/12401/_artifacts/)\n* [Internal Jenkins Results](http://goto.google.com/prkubekins/job/kubernetes-pull-build-test-e2e-gce//12401)\n"}}