From 910d3caacfffa5b6f0e2a93c3137bda52981fa9e Mon Sep 17 00:00:00 2001 From: Rjan Date: Fri, 25 Mar 2022 16:39:53 +0100 Subject: [PATCH] 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. --- extern/storage-sealing/upgrade_queue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/storage-sealing/upgrade_queue.go b/extern/storage-sealing/upgrade_queue.go index b6fd6e17389..1ee228ccb89 100644 --- a/extern/storage-sealing/upgrade_queue.go +++ b/extern/storage-sealing/upgrade_queue.go @@ -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() {