mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Remove spurious error on start
This commit is contained in:
parent
2f3da6af94
commit
fe9a5b1601
@ -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…
Reference in New Issue
Block a user