From 7b54c2172658a6c93d9ac237e4d36d1cbfc5e7c3 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 9 Mar 2015 22:56:44 +0100 Subject: [PATCH] Store ID in Snapshot --- archiver.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/archiver.go b/archiver.go index e9984a283..ebbbc307e 100644 --- a/archiver.go +++ b/archiver.go @@ -770,6 +770,9 @@ func (arch *Archiver) Snapshot(p *Progress, paths []string, pid backend.ID) (*Sn return nil, nil, err } + // store ID in snapshot struct + sn.id = blob.Storage + debug.Log("Archiver.Snapshot", "saved snapshot %v", blob.Storage.Str()) // cache blobs