fix:snapup: Rename error message
Renaming the the error-message you get if you try to snap-up the same sector twice, to better reflect that you are snapping a sector, and not marki-for-upgrade, which now has been deprecated.
This commit is contained in:
parent
caeeb6a7d9
commit
910d3caacf
2
extern/storage-sealing/upgrade_queue.go
vendored
2
extern/storage-sealing/upgrade_queue.go
vendored
@ -16,7 +16,7 @@ func (m *Sealing) MarkForSnapUpgrade(ctx context.Context, id abi.SectorNumber) e
|
||||
}
|
||||
|
||||
if si.State != Proving {
|
||||
return xerrors.Errorf("can't mark sectors not in the 'Proving' state for upgrade")
|
||||
return xerrors.Errorf("unable to snap-up sectors not in the 'Proving' state")
|
||||
}
|
||||
|
||||
if si.hasDeals() {
|
||||
|
Loading…
Reference in New Issue
Block a user