Fixed % in log issue (#778)
This commit is contained in:
Родитель
1f339ff0dd
Коммит
3856dcb1f0
|
@ -128,7 +128,7 @@ func getUsagePercentage(path string, maxSize float64) float64 {
|
|||
|
||||
currSize := getUsage(path)
|
||||
usagePercent := (currSize / float64(maxSize)) * 100
|
||||
log.Debug("cachePolicy::getUsagePercentage : current cache usage : %f%", usagePercent)
|
||||
log.Debug("cachePolicy::getUsagePercentage : current cache usage : %f%%", usagePercent)
|
||||
|
||||
return usagePercent
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче