buildkitd: handle config loading errors correctly
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>master
parent
c14bf69e7b
commit
46dcd7d9a6
|
@ -375,7 +375,7 @@ func defaultConf() (config.Config, error) {
|
|||
if !errors.As(err, &pe) {
|
||||
return config.Config{}, err
|
||||
}
|
||||
return cfg, nil
|
||||
logrus.Warnf("failed to load default config: %v", err)
|
||||
}
|
||||
setDefaultConfig(&cfg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue