mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
repository: fix parameter order of LookupBlobSize
All methods should use blobType followed by ID.
This commit is contained in:
@@ -266,7 +266,7 @@ func testRepack(t *testing.T, version uint) {
|
||||
}
|
||||
|
||||
for h := range removeBlobs {
|
||||
if _, found := repo.LookupBlobSize(h.ID, h.Type); found {
|
||||
if _, found := repo.LookupBlobSize(h.Type, h.ID); found {
|
||||
t.Errorf("blob %v still contained in the repo", h)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user