mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
archiver: replace most uses of restic.Repository
This commit is contained in:
@@ -25,7 +25,7 @@ func TestSnapshot(t testing.TB, repo restic.Repository, path string, parent *res
|
||||
Tags: []string{"test"},
|
||||
}
|
||||
if parent != nil {
|
||||
sn, err := restic.LoadSnapshot(context.TODO(), arch.Repo, *parent)
|
||||
sn, err := restic.LoadSnapshot(context.TODO(), repo, *parent)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user