You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
storage: inline recordStats function in linux_parse.go to fix lint
`TestLint/TestStaticCheck` throws an an error:
```log
=== RUN TestLint/TestStaticCheck
gen-lint_test.go:2119:
pkg/storage/disk/monitor.go:198:25: func (*monitoredDisk).recordStats is unused (U1000)
```
However, `recordStats` is used in `pkg/storage/disk/linux_parse.go`
which has a `//go:build linux` constraint, so it is actually not
"unused".
This PR resolves the linter error by deleting the function and inlining
its behaviour into `linux_parse.go`.
Epic: None
Release note: None
0 commit comments