Skip to content

Commit c7f1241

Browse files
committed
fix linter
1 parent 07ba526 commit c7f1241

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/inputs/system/system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type System struct {
3636
collectNCPUs bool
3737
collectUptime bool
3838

39-
platformData //nolint:unused // for OS-specific usage
39+
platformData //nolint:unused,nolintlint // for OS-specific usage
4040
}
4141

4242
func (*System) SampleConfig() string {

plugins/inputs/system/system_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
defaultHostSys = "/sys"
2222
)
2323

24-
type platformData struct { //nolint:unused // used on Linux, needed for System struct
24+
type platformData struct {
2525
collectOS bool
2626
collectDMI bool
2727
collectUname bool

0 commit comments

Comments
 (0)