diff --git a/collector/pkg/detect/devices_linux.go b/collector/pkg/detect/devices_linux.go index 437694b..912070a 100644 --- a/collector/pkg/detect/devices_linux.go +++ b/collector/pkg/detect/devices_linux.go @@ -3,6 +3,7 @@ package detect import ( "github.com/analogj/scrutiny/collector/pkg/models" "github.com/jaypipes/ghw" + "strings" ) func DevicePrefix() string { diff --git a/collector/pkg/detect/devices_windows.go b/collector/pkg/detect/devices_windows.go index fdf0c55..ad5b840 100644 --- a/collector/pkg/detect/devices_windows.go +++ b/collector/pkg/detect/devices_windows.go @@ -1,5 +1,11 @@ package detect +import ( + "github.com/analogj/scrutiny/collector/pkg/models" + "github.com/jaypipes/ghw" + "strings" +) + func DevicePrefix() string { return "" }