Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
St3ffn committed May 30, 2021
1 parent 8d070c7 commit 31617c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const verboseHeader string = "Path\tTotal\tStored\tReserved\tLeft\n"

func (v VerbosePrinter) Print(info *disk.PlotInfo) {
w := tabwriter.NewWriter(Output, 0, 0, 1, ' ', tabwriter.TabIndent)
_, _ = fmt.Fprintf(w, verboseHeader)
_, _ = fmt.Fprint(w, verboseHeader)
_, _ = fmt.Fprintf(w, "%s\t%d\t%d\t%d\t%d\n",
info.Path, info.PlotsTotal(), info.PlotsStored(), info.Reserved, info.PlotsLeft())
_ = w.Flush()
Expand Down

0 comments on commit 31617c5

Please sign in to comment.