diff --git a/service/oomkiller/recorder.go b/service/oomkiller/recorder.go index a8a089a9..c8805ef8 100644 --- a/service/oomkiller/recorder.go +++ b/service/oomkiller/recorder.go @@ -324,6 +324,7 @@ func (r *Recorder) sample(sample memorySample, state pressureState, connections r.chown(timelinePath) } +//nolint:unused func (r *Recorder) recordPressure(sample memorySample) { r.access.Lock() defer r.access.Unlock()