kubernetes/pkg/kubelet/oom
mattjmcnaughton 92940fa80d
Remove recorder.PastEventf method
The `recorder.PastEventf` method wasn't actually working as advertised.
It was supposed to accept a timestamp, which would be used when
generating the event. However, as the
[source code](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/record/event.go#L316)
shows, this `timestamp` was never actually used.

In other words, `PastEventf` is identical to `Eventf`.

We have two options: one would be to fix `PastEventf` so that it works
as advertised. The other would be to delete `PastEventf` and only
support `Eventf`.

Ultimately, I could only find one use of `PastEventf` in the code base,
so I propose we just delete `PastEventf` and convert all uses to
`Eventf`.
2019-12-30 12:00:23 -05:00
..
BUILD Remove recorder.PastEventf method 2019-12-30 12:00:23 -05:00
oom_watcher_linux_test.go Fix golint issues in pkg/kubelet/oom 2019-04-27 10:00:07 +02:00
oom_watcher_linux.go Remove recorder.PastEventf method 2019-12-30 12:00:23 -05:00
oom_watcher_unsupported.go Fix golint issues in pkg/kubelet/oom 2019-04-27 10:00:07 +02:00
OWNERS add dashpole to kubelet owners files 2019-05-29 13:33:48 -07:00
types.go Fix golint issues in pkg/kubelet/oom 2019-04-27 10:00:07 +02:00