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

@@ -46,6 +46,8 @@ func (r rateLimitedBackend) Load(ctx context.Context, h restic.Handle, length in
})
}
func (r rateLimitedBackend) Unwrap() restic.Backend { return r.Backend }
type limitedReader struct {
io.Reader
writerTo io.WriterTo