From 2a2b442aaef14dca7048917dc36b036c05850079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Tue, 27 Jul 2021 21:25:22 +0100 Subject: [PATCH] pacify the linter. --- markets/dagstore/lotusaccessor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/markets/dagstore/lotusaccessor.go b/markets/dagstore/lotusaccessor.go index 7cd363dc7..551ec79bd 100644 --- a/markets/dagstore/lotusaccessor.go +++ b/markets/dagstore/lotusaccessor.go @@ -95,6 +95,7 @@ func (m *lotusAccessor) FetchUnsealedPiece(ctx context.Context, pieceCid cid.Cid // We want to throttle this path, as these copies will be downloaded // immediately from the storage cluster without any unsealing // necessary. + deal := deal // calm the linter err := m.throttle.Do(ctx, func(ctx context.Context) (err error) { // UnsealSector will NOT unseal a sector if we already have an unsealed copy lying around. reader, err = m.rm.UnsealSector(ctx, deal.SectorID, deal.Offset.Unpadded(), deal.Length.Unpadded())