Fix command 'dump'

This commit is contained in:
Alexander Neumann 2016-09-01 22:09:34 +02:00
parent 5d7b38cabf
commit 765b5437bd
1 changed files with 1 additions and 1 deletions

View File

@ -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 {