mirror of
https://github.com/restic/restic.git
synced 2025-11-16 15:22:52 +00:00
rename opts to mainOpts
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user