From 7b94399f9e3eb70d08cbec26bbda375abbd4615d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Kripalani?= Date: Fri, 6 Aug 2021 15:04:59 +0100 Subject: [PATCH] fix lint. --- cmd/lotus-miner/dagstore.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lotus-miner/dagstore.go b/cmd/lotus-miner/dagstore.go index 10c0e813b..6ebaacc49 100644 --- a/cmd/lotus-miner/dagstore.go +++ b/cmd/lotus-miner/dagstore.go @@ -154,8 +154,8 @@ var dagstoreInitializeAllCmd = &cli.Command{ if !ok { return nil } - _, _ = fmt.Fprintf(os.Stdout, color.New(color.BgHiBlack).Sprintf("(%d/%d)", evt.Current, evt.Total)) - _, _ = fmt.Fprintf(os.Stdout, " ") + _, _ = fmt.Fprint(os.Stdout, color.New(color.BgHiBlack).Sprintf("(%d/%d)", evt.Current, evt.Total)) + _, _ = fmt.Fprint(os.Stdout, " ") if evt.Event == "start" { _, _ = fmt.Fprintln(os.Stdout, evt.Key, color.New(color.Reset).Sprint("STARTING")) } else {