diff --git a/plugins/inputs/dmcache/dmcache_test.go b/plugins/inputs/dmcache/dmcache_linux_test.go similarity index 99% rename from plugins/inputs/dmcache/dmcache_test.go rename to plugins/inputs/dmcache/dmcache_linux_test.go index c5989c413d9c0..bf3e38ca193e8 100644 --- a/plugins/inputs/dmcache/dmcache_test.go +++ b/plugins/inputs/dmcache/dmcache_linux_test.go @@ -1,3 +1,5 @@ +// +build linux + package dmcache import ( diff --git a/plugins/inputs/hddtemp/hddtemp.go b/plugins/inputs/hddtemp/hddtemp.go index ac11218ddc3da..dd4622df49e3e 100644 --- a/plugins/inputs/hddtemp/hddtemp.go +++ b/plugins/inputs/hddtemp/hddtemp.go @@ -1,5 +1,3 @@ -// +build linux - package hddtemp import ( diff --git a/plugins/inputs/hddtemp/hddtemp_nocompile.go b/plugins/inputs/hddtemp/hddtemp_nocompile.go deleted file mode 100644 index 0c580167031cd..0000000000000 --- a/plugins/inputs/hddtemp/hddtemp_nocompile.go +++ /dev/null @@ -1,3 +0,0 @@ -// +build !linux - -package hddtemp