forked from TrueCloudLab/restic
Store ID in Snapshot
This commit is contained in:
parent
2166367039
commit
7b54c21726
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue