make the linter happy
This commit is contained in:
parent
ad6b0575c1
commit
e74eb6af09
@ -120,6 +120,11 @@ p: pvC0JBrEyUqtIIUvB2UUx/2a24c3Cvnu6AZ0D3IMBYAu...
|
||||
|
||||
type benchSectorProvider map[storiface.SectorFileType]string
|
||||
|
||||
func (b benchSectorProvider) AcquireSectorCopy(ctx context.Context, id storiface.SectorRef, existing storiface.SectorFileType, allocate storiface.SectorFileType, ptype storiface.PathType) (storiface.SectorPaths, func(), error) {
|
||||
// there's no copying in this context
|
||||
return b.AcquireSector(ctx, id, existing, allocate, ptype)
|
||||
}
|
||||
|
||||
func (b benchSectorProvider) AcquireSector(ctx context.Context, id storiface.SectorRef, existing storiface.SectorFileType, allocate storiface.SectorFileType, ptype storiface.PathType) (storiface.SectorPaths, func(), error) {
|
||||
out := storiface.SectorPaths{
|
||||
ID: id.ID,
|
||||
|
@ -1134,7 +1134,7 @@ func TestGenerateSDR(t *testing.T) {
|
||||
_, err = sb.SealPreCommit1(context.TODO(), si, s.ticket, []abi.PieceInfo{s.pi})
|
||||
require.NoError(t, err)
|
||||
|
||||
// sdr for comparasion
|
||||
// sdr for comparison
|
||||
|
||||
sdrCache := filepath.Join(d, "sdrcache")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user