From a257a613d77d0dddf4be3cd2ef9a5d6d19faba30 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 27 Sep 2016 19:45:08 +0200 Subject: [PATCH] Fix debug log --- src/restic/repository/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restic/repository/index.go b/src/restic/repository/index.go index fb7ff1ee5..6e15ea5c3 100644 --- a/src/restic/repository/index.go +++ b/src/restic/repository/index.go @@ -524,7 +524,7 @@ func DecodeOldIndex(rd io.Reader) (idx *Index, err error) { // LoadIndexWithDecoder loads the index and decodes it with fn. func LoadIndexWithDecoder(repo restic.Repository, id restic.ID, fn func(io.Reader) (*Index, error)) (idx *Index, err error) { - debug.Log("LoadIndexWithDecoder", "Loading index %v", id[:8]) + debug.Log("LoadIndexWithDecoder", "Loading index %v", id.Str()) buf, err := repo.LoadAndDecrypt(restic.IndexFile, id) if err != nil {