🎨 Clean code
This commit is contained in:
parent
3dd84974e2
commit
28ad679f1f
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ func downloadPackage(repoURLHash string, pushProgress bool, systemID string) (da
|
|||
resp, err := httpclient.NewBrowserRequest().SetOutput(buf).SetDownloadCallback(func(info req.DownloadInfo) {
|
||||
if pushProgress {
|
||||
progress := float32(info.DownloadedSize) / float32(info.Response.ContentLength)
|
||||
logging.LogDebugf("downloading bazaar package [%d]", progress)
|
||||
//logging.LogDebugf("downloading bazaar package [%f]", progress)
|
||||
util.PushDownloadProgress(pushID, progress)
|
||||
}
|
||||
}).Get(u)
|
||||
|
|
Loading…
Add table
Reference in a new issue