Merge pull request #181 from ibuildthecloud/master

Remove spurious error on start
pull/182/head
Darren Shepherd 6 years ago committed by GitHub
commit f4f29e6947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -131,7 +131,9 @@ func Run(ctx context.Context, cfg *config.Node) error {
func preloadImages(cfg *config.Node) error {
fileInfo, err := os.Stat(cfg.Images)
if err != nil {
if os.IsNotExist(err) {
return nil
} else if err != nil {
logrus.Errorf("Unable to find images in %s: %v", cfg.Images, err)
return nil
}

Loading…
Cancel
Save