Skip to content

Commit

Permalink
Update cmd/lotus-shed/hello.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
swift-mx and magik6k authored Jun 2, 2022
1 parent 63a2d9f commit 5a961c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-shed/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var helloCmd = &cli.Command{
if err != nil {
return err
}
ctx, done := context.WithTimeout(context.Background(), 5*time.Second)
ctx, done := context.WithTimeout(ctx, 5*time.Second)
defer done()
select {
case <-resultCh:
Expand Down

0 comments on commit 5a961c9

Please sign in to comment.