mirror of
https://github.com/restic/restic.git
synced 2025-12-03 20:11:52 +00:00
migrations: Fix S3 backend detection
This commit is contained in:
4
internal/cache/backend.go
vendored
4
internal/cache/backend.go
vendored
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user