fix-operator-download-log

Signed-off-by: learner0810 <zhongjun.li@daocloud.io>
This commit is contained in:
learner0810 2023-06-27 14:52:13 +08:00
parent b005d5b134
commit 49d94be9fb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}