From e44864e64b44b00f219afc16dca39efb594d2dbd Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Wed, 23 Sep 2020 11:01:53 -0600 Subject: [PATCH] fixes. --- collector/pkg/detect/devices_linux.go | 1 + collector/pkg/detect/devices_windows.go | 6 ++++++ 2 files changed, 7 insertions(+) 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 "" }