Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 12, 2021
1 parent 88b0d55 commit abb1a15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/lotus-shed/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ var minerCmd = &cli.Command{
}

var minerUnpackInfoCmd = &cli.Command{
Name: "unpack-info",
Usage: "unpack miner info all dump",
Name: "unpack-info",
Usage: "unpack miner info all dump",
ArgsUsage: "[allinfo.txt] [dir]",
Action: func(cctx *cli.Context) error {
if cctx.Args().Len() != 2 {
Expand All @@ -48,7 +48,7 @@ var minerUnpackInfoCmd = &cli.Command{

r := bufio.NewReader(f)
for {
l, _ ,err := r.ReadLine()
l, _, err := r.ReadLine()
if err == io.EOF {
if outf != nil {
return outf.Close()
Expand Down Expand Up @@ -109,4 +109,4 @@ var minerUnpackInfoCmd = &cli.Command{
}
}
},
}
}

0 comments on commit abb1a15

Please sign in to comment.