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
plugins/inputs/system/ps.go:175:27 should maybe use os.PathSeparator as it might fail on Windows otherwise
plugins/inputs/prometheus/kubernetes.go:66:42 is a clear true-positive
plugins/inputs/powerdns_recursor/powerdns_recursor.go:47:31 should maybe just have a fixed /var/run string
plugins/inputs/diskio/diskio_linux.go:118:54 can just do string concatenation as it's only built for Linux
Also for the test-findings, it might not hurt to construct the paths using filepath.Join instead of doing this. I even don't know why this works on Windows machines...
With all this being said, I think there is a point in enabling this linter!
Description
This issue starts a discussion about enabling:
Example
Before:
After:
Expected output
Decision about enabling or not enabling this checker.
Findings
For this checker, the following findings were found in the current codebase:
Additional configuration
For this checker, no additional configuration can be provided.
The text was updated successfully, but these errors were encountered: