mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
Store ID in Snapshot
This commit is contained in:
parent
2166367039
commit
7b54c21726
@ -770,6 +770,9 @@ func (arch *Archiver) Snapshot(p *Progress, paths []string, pid backend.ID) (*Sn
|
|||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// store ID in snapshot struct
|
||||||
|
sn.id = blob.Storage
|
||||||
|
|
||||||
debug.Log("Archiver.Snapshot", "saved snapshot %v", blob.Storage.Str())
|
debug.Log("Archiver.Snapshot", "saved snapshot %v", blob.Storage.Str())
|
||||||
|
|
||||||
// cache blobs
|
// cache blobs
|
||||||
|
Loading…
Reference in New Issue
Block a user