mirror of
https://github.com/restic/restic.git
synced 2025-08-21 06:50:46 +00:00
Fix command 'dump'
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user