Fix MockBackend.Load()

This commit is contained in:
Alexander Neumann 2016-01-23 17:19:47 +01:00
parent 9a490f9e01
commit 3aafa21887

View file

@ -48,7 +48,7 @@ func (m *MockBackend) Load(h Handle, p []byte, off int64) (int, error) {
return 0, errors.New("not implemented") 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) { func (m *MockBackend) GetReader(t Type, name string, offset, len uint) (io.ReadCloser, error) {