Skip to content

Commit

Permalink
Merge pull request #11255 from Aloxaf/Aloxaf-patch-2
Browse files Browse the repository at this point in the history
fix: sealing: typo in FinalizeReplicaUpdate
  • Loading branch information
magik6k authored Sep 22, 2023
2 parents 9999050 + 0dd7976 commit 444da43
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 444da43

Please sign in to comment.