migrate: Cleanup option to request repository check

This commit is contained in:
Michael Eischer 2022-06-04 23:45:00 +02:00
parent 0cb6b3d80a
commit 5eba1217e7
4 changed files with 6 additions and 10 deletions

View file

@ -37,8 +37,8 @@ func (m *S3Layout) Check(ctx context.Context, repo restic.Repository) (bool, err
return true, nil
}
func (m *S3Layout) RepoCheckOptions() *RepositoryCheckOptions {
return nil
func (m *S3Layout) RepoCheck() bool {
return false
}
func retry(max int, fail func(err error), f func() error) error {