fix build
This commit is contained in:
parent
4b78c4ea1e
commit
a965fc660e
@ -36,3 +36,7 @@ func (l *readonlyProvider) AcquireSector(ctx context.Context, id storiface.Secto
|
|||||||
|
|
||||||
return p, cancel, err
|
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")
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user