diff --git a/config/config.go b/config/config.go index 5004822f..9a1bac71 100644 --- a/config/config.go +++ b/config/config.go @@ -92,7 +92,7 @@ func Load(path string) (config *Config, err error) { var cfgFile File cfgFile.Clair = DefaultConfig() if path == "" { - return + return &cfgFile.Clair, nil } f, err := os.Open(os.ExpandEnv(path))