Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
fs: Create correct file names
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 17, 2020
1 parent bd9e7cb commit 42574fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ func (b *Basic) AcquireSector(ctx context.Context, id abi.SectorID, existing sec

return sectorbuilder.SectorPaths{
Id: id,
Unsealed: filepath.Join(b.Root, sectorbuilder.FTUnsealed.String(), fmt.Sprintf("s-t0%d-%d", id.Miner, id)),
Sealed: filepath.Join(b.Root, sectorbuilder.FTSealed.String(), fmt.Sprintf("s-t0%d-%d", id.Miner, id)),
Cache: filepath.Join(b.Root, sectorbuilder.FTCache.String(), fmt.Sprintf("s-t0%d-%d", id.Miner, id)),
Unsealed: filepath.Join(b.Root, sectorbuilder.FTUnsealed.String(), fmt.Sprintf("s-t0%d-%d", id.Miner, id.Number)),
Sealed: filepath.Join(b.Root, sectorbuilder.FTSealed.String(), fmt.Sprintf("s-t0%d-%d", id.Miner, id.Number)),
Cache: filepath.Join(b.Root, sectorbuilder.FTCache.String(), fmt.Sprintf("s-t0%d-%d", id.Miner, id.Number)),
}, done, nil
}

Expand Down

0 comments on commit 42574fc

Please sign in to comment.