mirror of https://github.com/restic/restic.git
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