mirror of
https://github.com/restic/restic.git
synced 2024-12-27 02:08:37 +00:00
Fix MockBackend.Load()
This commit is contained in:
parent
9a490f9e01
commit
3aafa21887
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func (m *MockBackend) Load(h Handle, p []byte, off int64) (int, error) {
|
|||
return 0, errors.New("not implemented")
|
||||
}
|
||||
|
||||
return m.Load(h, p, off)
|
||||
return m.LoadFn(h, p, off)
|
||||
}
|
||||
|
||||
func (m *MockBackend) GetReader(t Type, name string, offset, len uint) (io.ReadCloser, error) {
|
||||
|
|
Loading…
Reference in a new issue