Skip to content

Commit

Permalink
fix: sealing: typo in FinalizeReplicaUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf authored Sep 8, 2023
1 parent 8ab6eaa commit 0dd7976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/sealer/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ func (m *Manager) FinalizeReplicaUpdate(ctx context.Context, sector storiface.Se

{
unsealedStores, ferr := m.index.StorageFindSector(ctx, sector.ID, storiface.FTUnsealed, 0, false)
if err != nil {
if ferr != nil {
err = multierr.Append(err, xerrors.Errorf("find unsealed sector before move: %w", ferr))
} else if len(unsealedStores) > 0 {
// if we found unsealed files, AND have been asked to keep at least one piece, move unsealed
Expand Down

0 comments on commit 0dd7976

Please sign in to comment.