fix build

This commit is contained in:
Łukasz Magiera
2023-08-31 09:46:10 -04:00
committed by Jennifer Wang
parent 4b78c4ea1e
commit a965fc660e
+4
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")
}