Merge pull request #953 from filecoin-project/fix/sb-getpath
sectorbuilder: Fix getpath
This commit is contained in:
commit
54fe4f748e
@ -51,7 +51,7 @@ func (sb *SectorBuilder) GetPath(typ string, sectorName string) (string, error)
|
||||
return "", xerrors.Errorf("unknown sector type: %s", typ)
|
||||
}
|
||||
|
||||
return sb.filesystem.pathFor(dataType(typ)), nil
|
||||
return filepath.Join(sb.filesystem.pathFor(dataType(typ)), sectorName), nil
|
||||
}
|
||||
|
||||
func (sb *SectorBuilder) TrimCache(sectorID uint64) error {
|
||||
|
Loading…
Reference in New Issue
Block a user