From 7742f4c6c31fcad6e1564fc1c9f9a87542991d73 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Tue, 29 Sep 2020 16:16:15 -0600 Subject: [PATCH] fixing windows binary build during CI. Update config missing error message. --- collector/pkg/detect/devices_windows.go | 1 - webapp/backend/pkg/config/config.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/collector/pkg/detect/devices_windows.go b/collector/pkg/detect/devices_windows.go index ad5b840..8ecb781 100644 --- a/collector/pkg/detect/devices_windows.go +++ b/collector/pkg/detect/devices_windows.go @@ -2,7 +2,6 @@ package detect import ( "github.com/analogj/scrutiny/collector/pkg/models" - "github.com/jaypipes/ghw" "strings" ) diff --git a/webapp/backend/pkg/config/config.go b/webapp/backend/pkg/config/config.go index c4ca517..95111b0 100644 --- a/webapp/backend/pkg/config/config.go +++ b/webapp/backend/pkg/config/config.go @@ -65,7 +65,7 @@ func (c *configuration) ReadConfig(configFilePath string) error { } if !utils.FileExists(configFilePath) { - log.Printf("No configuration file found at %v. Skipping", configFilePath) + log.Printf("No configuration file found at %v. Using Defaults.", configFilePath) return errors.ConfigFileMissingError("The configuration file could not be found.") }