mirror of
https://github.com/octoleo/restic.git
synced 2024-12-31 22:11:52 +00:00
Properly initialize the --group-by option for backup tests
This commit is contained in:
parent
bdcafbc11c
commit
fab4a8a4d2
@ -71,6 +71,7 @@ func testRunBackupAssumeFailure(t testing.TB, dir string, target []string, opts
|
|||||||
defer cleanup()
|
defer cleanup()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
opts.GroupBy = restic.SnapshotGroupByOptions{Host: true, Path: true}
|
||||||
backupErr := runBackup(ctx, opts, gopts, term, target)
|
backupErr := runBackup(ctx, opts, gopts, term, target)
|
||||||
|
|
||||||
cancel()
|
cancel()
|
||||||
|
Loading…
Reference in New Issue
Block a user