forked from TrueCloudLab/restic
add context to repo.Flush() call in test code
gh-1434
This commit is contained in:
parent
be24237063
commit
20d78ab0d9
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ func saveSnapshot(t testing.TB, repo restic.Repository, snapshot Snapshot) (rest
|
|||
|
||||
treeID := saveDir(t, repo, snapshot.Nodes)
|
||||
|
||||
err := repo.Flush()
|
||||
err := repo.Flush(ctx)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue