mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
golint fix
This commit is contained in:
@@ -190,6 +190,7 @@ pkg/kubelet/dockershim/network/testing
|
||||
pkg/kubelet/events
|
||||
pkg/kubelet/lifecycle
|
||||
pkg/kubelet/metrics
|
||||
pkg/kubelet/oom
|
||||
pkg/kubelet/pod
|
||||
pkg/kubelet/pod/testing
|
||||
pkg/kubelet/preemption
|
||||
|
@@ -27,6 +27,7 @@ type oomWatcherUnsupported struct{}
|
||||
|
||||
var _ OOMWatcher = new(oomWatcherUnsupported)
|
||||
|
||||
// NewOOMWatcher creates a fake one here
|
||||
func NewOOMWatcher(_ record.EventRecorder) OOMWatcher {
|
||||
return &oomWatcherUnsupported{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user