Skip to content

Commit

Permalink
Merge pull request #2650 from tonistiigi/config-load
Browse files Browse the repository at this point in the history
buildkitd: handle config loading errors correctly
  • Loading branch information
AkihiroSuda authored Feb 17, 2022
2 parents 22cf9cb + 46dcd7d commit 8821787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/buildkitd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8821787

Please sign in to comment.