fix build

This commit is contained in:
Łukasz Magiera 2023-07-31 12:37:09 +02:00 committed by Jennifer Wang
parent 4b78c4ea1e
commit a965fc660e

View File

@ -36,3 +36,7 @@ func (l *readonlyProvider) AcquireSector(ctx context.Context, id storiface.Secto
return p, cancel, err
}
func (l *readonlyProvider) AcquireSectorCopy(ctx context.Context, id storiface.SectorRef, existing storiface.SectorFileType, allocate storiface.SectorFileType, ptype storiface.PathType) (storiface.SectorPaths, func(), error) {
return storiface.SectorPaths{}, nil, xerrors.New("read-only storage")
}