mirror of
https://github.com/restic/restic.git
synced 2026-08-28 16:27:31 +00:00
migrate: Cleanup option to request repository check
This commit is contained in:
@@ -84,8 +84,7 @@ func applyMigrations(opts MigrateOptions, gopts GlobalOptions, repo restic.Repos
|
||||
Warnf("check for migration %v failed, continuing anyway\n", m.Name())
|
||||
}
|
||||
|
||||
repoCheckOpts := m.RepoCheckOptions()
|
||||
if repoCheckOpts != nil {
|
||||
if m.RepoCheck() {
|
||||
Printf("checking repository integrity...\n")
|
||||
|
||||
checkOptions := CheckOptions{}
|
||||
|
||||
Reference in New Issue
Block a user