Skip to content

Commit

Permalink
change to builtin util
Browse files Browse the repository at this point in the history
  • Loading branch information
corang committed Sep 21, 2023
1 parent f7c2aed commit 093bd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/packager/images/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (i *ImgConfig) PullAll() error {

// Create the directory for the blob if it doesn't exist
dir := filepath.Join(string(cranePath), "blobs", digest.Algorithm)
if err := os.MkdirAll(dir, os.ModePerm); err != nil && !os.IsExist(err) {
if err := utils.CreateDirectory(dir, os.ModePerm); err != nil {
layerWritingConcurrency.ErrorChan <- err
return
}
Expand Down

0 comments on commit 093bd63

Please sign in to comment.