Update cmd/lotus-miner/sealing.go

This commit is contained in:
Aayush Rajasekaran
2021-07-29 14:46:19 -04:00
committed by GitHub
parent 28e3c8bd3f
commit 1f7d584517
+1 -1
View File
@@ -93,7 +93,7 @@ var sealingWorkersCmd = &cli.Command{
cpuBars := int(stat.CpuUse * barCols / stat.Info.Resources.CPUs)
cpuBar := strings.Repeat("|", cpuBars)
if int(barCols)-cpuBars >= 0 {
cpuBar = cpuBar + strings.Repeat(" ", int(barCols)-cpuBars)
cpuBar += strings.Repeat(" ", int(barCols)-cpuBars)
}
fmt.Printf("\tCPU: [%s] %d/%d core(s) in use\n",