rename opts to mainOpts

This commit is contained in:
Alexander Neumann
2015-06-21 11:38:07 +02:00
parent a3e0907fc7
commit 2fa259816b
4 changed files with 25 additions and 25 deletions

View File

@@ -177,11 +177,11 @@ type testEnvironment struct {
}
func configureRestic(t testing.TB, cache, repo string) {
opts.CacheDir = cache
opts.Repo = repo
opts.Quiet = true
mainOpts.CacheDir = cache
mainOpts.Repo = repo
mainOpts.Quiet = true
opts.password = TestPassword
mainOpts.password = TestPassword
}
func cleanupTempdir(t testing.TB, tempdir string) {