diff --git a/pkg/imagefs/imagefs.go b/pkg/imagefs/imagefs.go index 6c21d1c152..dc148b3b31 100644 --- a/pkg/imagefs/imagefs.go +++ b/pkg/imagefs/imagefs.go @@ -141,6 +141,8 @@ func New(parent vfs.FS, root string, image v1.Image, filesToCache []string) (vfs return nil, errors.Wrap(err, "imagefs: walk image failed") } + logrus.Debugf("imagefs: Creating cached directories for %s", root) + for dir, d := range ifs.files { if !d.IsDir() { continue @@ -153,6 +155,8 @@ func New(parent vfs.FS, root string, image v1.Image, filesToCache []string) (vfs } } + logrus.Debugf("imagefs: Cached files for %s", root) + return ifs, nil }