migrate: Cleanup option to request repository check
This commit is contained in:
parent
0cb6b3d80a
commit
5eba1217e7
4 changed files with 6 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue