pull fixes

This commit is contained in:
Michael Yang
2023-07-12 09:55:07 -07:00
parent e1f0a0dc74
commit 0944b01e7d
3 changed files with 14 additions and 18 deletions

View File

@@ -112,7 +112,7 @@ func pull(c *gin.Context) {
ch <- api.PullProgress{
Total: total,
Completed: completed,
Percent: float64(total) / float64(completed) * 100,
Percent: float64(completed) / float64(total) * 100,
}
}