mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +00:00
Fix MockBackend.Load()
This commit is contained in:
parent
9a490f9e01
commit
3aafa21887
@ -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 New Issue
Block a user