mirror of
https://github.com/octoleo/restic.git
synced 2024-11-10 23:31:09 +00:00
Correct comment
This commit is contained in:
parent
d609e4a986
commit
f59ffcaeae
@ -21,7 +21,7 @@ func Repack(repo *Repository, packs, keepBlobs backend.IDSet) (err error) {
|
|||||||
|
|
||||||
buf := make([]byte, 0, maxPackSize)
|
buf := make([]byte, 0, maxPackSize)
|
||||||
for packID := range packs {
|
for packID := range packs {
|
||||||
// load the complete blob
|
// load the complete pack
|
||||||
h := backend.Handle{Type: backend.Data, Name: packID.String()}
|
h := backend.Handle{Type: backend.Data, Name: packID.String()}
|
||||||
|
|
||||||
l, err := repo.Backend().Load(h, buf[:cap(buf)], 0)
|
l, err := repo.Backend().Load(h, buf[:cap(buf)], 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user