Skip to content

Commit

Permalink
Merge pull request #3715 from learner0810/fix-operator-download-log
Browse files Browse the repository at this point in the history
Optimize download percentage log
  • Loading branch information
karmada-bot committed Jun 27, 2023
2 parents 58f6f14 + 49d94be commit 912ba8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/pkg/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (d *Downloader) Read(p []byte) (n int, err error) {
}

d.Current += int64(n)
klog.Info("\rDownloading...[ %.2f%% ]", float64(d.Current*10000/d.Total)/100)
klog.Infof("\rDownloading...[ %.2f%% ]", float64(d.Current*10000/d.Total)/100)
return
}

Expand Down

0 comments on commit 912ba8e

Please sign in to comment.