migrations: Fix S3 backend detection

This commit is contained in:
Michael Eischer committed 2023-04-14 22:32:16 +02:00
1 parent c934c99d41
commit 6042df075f
8 files changed
+63 -14

No files matched your search

+4
View File
@@ -211,3 +211,7 @@ func (b *Backend) Stat(ctx context.Context, h restic.Handle) (restic.FileInfo, e
func (b *Backend) IsNotExist(err error) bool {
return b.Backend.IsNotExist(err)
}
func (b *Backend) Unwrap() restic.Backend {
return b.Backend
}