fixing windows binary build during CI. Update config missing error message.

pull/63/head
Jason Kulatunga 4 years ago
parent 6473ec1a28
commit 7742f4c6c3

@ -2,7 +2,6 @@ package detect
import ( import (
"github.com/analogj/scrutiny/collector/pkg/models" "github.com/analogj/scrutiny/collector/pkg/models"
"github.com/jaypipes/ghw"
"strings" "strings"
) )

@ -65,7 +65,7 @@ func (c *configuration) ReadConfig(configFilePath string) error {
} }
if !utils.FileExists(configFilePath) { 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.") return errors.ConfigFileMissingError("The configuration file could not be found.")
} }

Loading…
Cancel
Save