From 765b5437bd0ebee4eece9b94a1c64911bb1d58b2 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Thu, 1 Sep 2016 22:09:34 +0200 Subject: [PATCH] Fix command 'dump' --- src/cmds/restic/cmd_dump.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmds/restic/cmd_dump.go b/src/cmds/restic/cmd_dump.go index fb4389f66..5dc0247e0 100644 --- a/src/cmds/restic/cmd_dump.go +++ b/src/cmds/restic/cmd_dump.go @@ -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 {