add context to repo.Flush() call in test code

gh-1434
This commit is contained in:
George Armhold 2017-12-03 07:32:50 -05:00
parent be24237063
commit 20d78ab0d9

View file

@ -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)
}