Store ID in Snapshot

This commit is contained in:
Alexander Neumann 2015-03-09 22:56:44 +01:00
parent 2166367039
commit 7b54c21726

View file

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