fixing windows binary build during CI. Update config missing error message.
This commit is contained in:
@@ -2,7 +2,6 @@ package detect
|
||||
|
||||
import (
|
||||
"github.com/analogj/scrutiny/collector/pkg/models"
|
||||
"github.com/jaypipes/ghw"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
@@ -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.")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user