golint fix
This commit is contained in:
parent
c16d9193c1
commit
611563c913
@ -190,6 +190,7 @@ pkg/kubelet/dockershim/network/testing
|
|||||||
pkg/kubelet/events
|
pkg/kubelet/events
|
||||||
pkg/kubelet/lifecycle
|
pkg/kubelet/lifecycle
|
||||||
pkg/kubelet/metrics
|
pkg/kubelet/metrics
|
||||||
|
pkg/kubelet/oom
|
||||||
pkg/kubelet/pod
|
pkg/kubelet/pod
|
||||||
pkg/kubelet/pod/testing
|
pkg/kubelet/pod/testing
|
||||||
pkg/kubelet/preemption
|
pkg/kubelet/preemption
|
||||||
|
@ -27,6 +27,7 @@ type oomWatcherUnsupported struct{}
|
|||||||
|
|
||||||
var _ OOMWatcher = new(oomWatcherUnsupported)
|
var _ OOMWatcher = new(oomWatcherUnsupported)
|
||||||
|
|
||||||
|
// NewOOMWatcher creates a fake one here
|
||||||
func NewOOMWatcher(_ record.EventRecorder) OOMWatcher {
|
func NewOOMWatcher(_ record.EventRecorder) OOMWatcher {
|
||||||
return &oomWatcherUnsupported{}
|
return &oomWatcherUnsupported{}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user