Merge pull request #55 from filecoin-project/fix/finsector-mv-none

fix: Don't try to move removed unsealed sector files
This commit is contained in:
Łukasz Magiera 2020-06-24 00:19:33 +02:00 committed by GitHub
commit 1cb2b0ac1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -424,7 +424,7 @@ func (m *Manager) FinalizeSector(ctx context.Context, sector abi.SectorID, keepU
moveUnsealed := unsealed
{
if len(keepUnsealed) == 0 {
unsealed = stores.FTNone
moveUnsealed = stores.FTNone
}
}