migrations: Fix S3 backend detection

This commit is contained in:
Michael Eischer
2023-04-08 12:53:43 +02:00
parent c934c99d41
commit 6042df075f
8 changed files with 63 additions and 14 deletions

View File

@@ -85,3 +85,7 @@ func (be *SemaphoreBackend) Remove(ctx context.Context, h restic.Handle) error {
return be.Backend.Remove(ctx, h)
}
func (be *SemaphoreBackend) Unwrap() restic.Backend {
return be.Backend
}