2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 03:18:55 +00:00

Fix command 'dump'

This commit is contained in:
Alexander Neumann 2016-09-01 22:09:34 +02:00
parent 5d7b38cabf
commit 765b5437bd

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 {