From 3856dcb1f033be63759d39ce3e8fc9becb0bdfde Mon Sep 17 00:00:00 2001 From: Gauri Prasad <51212198+gapra-msft@users.noreply.github.com> Date: Thu, 5 May 2022 08:24:26 -0700 Subject: [PATCH] Fixed % in log issue (#778) --- component/file_cache/cache_policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/file_cache/cache_policy.go b/component/file_cache/cache_policy.go index 9e225d70..358300f1 100644 --- a/component/file_cache/cache_policy.go +++ b/component/file_cache/cache_policy.go @@ -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 }