We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07ba526 commit c7f1241Copy full SHA for c7f1241
plugins/inputs/system/system.go
@@ -36,7 +36,7 @@ type System struct {
36
collectNCPUs bool
37
collectUptime bool
38
39
- platformData //nolint:unused // for OS-specific usage
+ platformData //nolint:unused,nolintlint // for OS-specific usage
40
}
41
42
func (*System) SampleConfig() string {
plugins/inputs/system/system_linux.go
@@ -21,7 +21,7 @@ const (
21
defaultHostSys = "/sys"
22
)
23
24
-type platformData struct { //nolint:unused // used on Linux, needed for System struct
+type platformData struct {
25
collectOS bool
26
collectDMI bool
27
collectUname bool
0 commit comments