Skip to content

Commit

Permalink
fix: ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
akaladarshi committed Aug 20, 2024
1 parent 67817cc commit fb1758e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/lotus-shed/indexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ var backfillMsgIndexCmd = &cli.Command{
return err
}

defer closer()
defer closer() //nolint:errcheck
ctx := lcli.ReqContext(cctx)

curTs, err := api.ChainHead(ctx)
Expand Down Expand Up @@ -753,7 +753,7 @@ var pruneMsgIndexCmd = &cli.Command{
api := srvc.FullNodeAPI()
closer := srvc.Close

defer closer()
defer closer() //nolint:errcheck
ctx := lcli.ReqContext(cctx)

basePath, startHeight, err := parsePruneArgs(ctx, cctx, api)
Expand Down Expand Up @@ -790,7 +790,8 @@ var backfillTxHashCmd = &cli.Command{
if err != nil {
return err
}
defer closer()

defer closer() //nolint:errcheck

ctx := lcli.ReqContext(cctx)

Expand Down

0 comments on commit fb1758e

Please sign in to comment.