From 131831ca61edeb71197feef650aa540904cb1a05 Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Wed, 8 Jun 2022 13:18:50 -0400 Subject: [PATCH] Update cmd/lotus-shed/cid.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Magiera --- cmd/lotus-shed/cid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-shed/cid.go b/cmd/lotus-shed/cid.go index 61e02a9d2..1fe8a7dc1 100644 --- a/cmd/lotus-shed/cid.go +++ b/cmd/lotus-shed/cid.go @@ -95,7 +95,7 @@ var cidFromCarCmd = &cli.Command{ Usage: "Get the manifest CID from a car file", ArgsUsage: "[path]", Action: func(cctx *cli.Context) error { - ctx := context.TODO() + ctx := cctx.Context cf := cctx.Args().Get(0) f, err := os.OpenFile(cf, os.O_RDONLY, 0664)