Skip to content

Commit

Permalink
Update pkg/registry/registry.go
Browse files Browse the repository at this point in the history
Co-authored-by: Armel Soro <[email protected]>
  • Loading branch information
valaparthvi and rm3l authored Mar 16, 2023
1 parent 48a6c35 commit efc25e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func removeDirectoryContents(path string, fsys filesystem.Filesystem) error {
absFileName := filepath.Join(path, f.Name())
err = fsys.RemoveAll(absFileName)
if err != nil {
return fmt.Errorf("failed to remove %s; cause: %s", absFileName, err)
return fmt.Errorf("failed to remove %s; cause: %w", absFileName, err)
}
}

Expand Down

0 comments on commit efc25e4

Please sign in to comment.