Skip to content

Commit

Permalink
Update cmd/lotus-shed/cid.go
Browse files Browse the repository at this point in the history
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
  • Loading branch information
arajasek and magik6k authored Jun 8, 2022
1 parent b28c11a commit 474d11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-shed/cid.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 474d11b

Please sign in to comment.