Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mafredri committed Aug 30, 2024
1 parent 5e82e37 commit ce77d36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/imagefs/imagefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand Down

0 comments on commit ce77d36

Please sign in to comment.