From a5ba556fffbd6f1cb9e8ade0547271c98992c10a Mon Sep 17 00:00:00 2001 From: aarshkshah1992 Date: Wed, 7 Jul 2021 14:47:00 +0530 Subject: [PATCH] fix lint --- node/impl/client/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/impl/client/import.go b/node/impl/client/import.go index b65231449..f200c3509 100644 --- a/node/impl/client/import.go +++ b/node/impl/client/import.go @@ -43,7 +43,7 @@ func (a *API) importNormalFileToCARv2(ctx context.Context, importID importmgr.Im fm.AllowFiles = true fstore := filestore.NewFilestore(bstore.NewMemorySync(), fm) bsvc := blockservice.New(fstore, offline.Exchange(fstore)) - defer bsvc.Close() + defer bsvc.Close() //nolint:errcheck // ---- First Pass --- Write out the UnixFS DAG to a rootless CARv2 file by instantiating a read-write CARv2 blockstore without the root. root, err := importNormalFileToUnixfsDAG(ctx, inputFilePath, merkledag.NewDAGService(bsvc))