From cd6f91ba6fadde404aafec8d430db4f9f29abd0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Mon, 7 Jun 2021 23:47:38 +0100 Subject: [PATCH] fix lint. --- itests/kit/pledge.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/itests/kit/pledge.go b/itests/kit/pledge.go index 9b4023152..254f87bac 100644 --- a/itests/kit/pledge.go +++ b/itests/kit/pledge.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/require" ) -func PledgeSectors(t *testing.T, ctx context.Context, miner TestMiner, n, existing int, blockNotif <-chan struct{}) { +func PledgeSectors(t *testing.T, ctx context.Context, miner TestMiner, n, existing int, blockNotif <-chan struct{}) { //nolint:golint toCheck := StartPledge(t, ctx, miner, n, existing, blockNotif) for len(toCheck) > 0 { @@ -38,7 +38,7 @@ func PledgeSectors(t *testing.T, ctx context.Context, miner TestMiner, n, existi } } -func flushSealingBatches(t *testing.T, ctx context.Context, miner TestMiner) { +func flushSealingBatches(t *testing.T, ctx context.Context, miner TestMiner) { //nolint:golint pcb, err := miner.SectorPreCommitFlush(ctx) require.NoError(t, err) if pcb != nil { @@ -52,7 +52,7 @@ func flushSealingBatches(t *testing.T, ctx context.Context, miner TestMiner) { } } -func StartPledge(t *testing.T, ctx context.Context, miner TestMiner, n, existing int, blockNotif <-chan struct{}) map[abi.SectorNumber]struct{} { +func StartPledge(t *testing.T, ctx context.Context, miner TestMiner, n, existing int, blockNotif <-chan struct{}) map[abi.SectorNumber]struct{} { //nolint:golint for i := 0; i < n; i++ { if i%3 == 0 && blockNotif != nil { <-blockNotif