mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 11:28:54 +00:00
Fix command 'dump'
This commit is contained in:
parent
5d7b38cabf
commit
765b5437bd
@ -91,7 +91,7 @@ func printPacks(repo *repository.Repository, wr io.Writer) error {
|
||||
f := func(job worker.Job, done <-chan struct{}) (interface{}, error) {
|
||||
name := job.Data.(string)
|
||||
|
||||
h := restic.Handle{FileType: restic.DataFile, Name: name}
|
||||
h := restic.Handle{Type: restic.DataFile, Name: name}
|
||||
|
||||
blobInfo, err := repo.Backend().Stat(h)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user