Skip to content

Commit

Permalink
pass nil option to archiver.FilesFromDisk
Browse files Browse the repository at this point in the history
  • Loading branch information
premist committed Nov 24, 2022
1 parent 207a95c commit 35e5eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cacher/cacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (c *Cacher) Save(ctx context.Context, i *SaveRequest) (retErr error) {
}

// Create the tar.zst writer
files, err := archiver.FilesFromDisk(map[string]string{
files, err := archiver.FilesFromDisk(nil, map[string]string{
dir: "",
})
if err != nil {
Expand Down

0 comments on commit 35e5eee

Please sign in to comment.