Merge branch 'wafcache_log_typo' into 'master'

wafcache: fix small typo on stats log message

See merge request ita1024/waf!2310
This commit is contained in:
ita1024 2021-01-07 07:18:59 +00:00
commit 3b46768d3b
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ def build(bld):
hit_ratio = 0
if bld.cache_reqs > 0:
hit_ratio = (bld.cache_hits / bld.cache_reqs) * 100
Logs.pprint('CYAN', ' wafache stats: requests: %s, hits, %s, ratio: %.2f%%, writes %s' %
Logs.pprint('CYAN', ' wafcache stats: requests: %s, hits, %s, ratio: %.2f%%, writes %s' %
(bld.cache_reqs, bld.cache_hits, hit_ratio, bld.cache_puts) )
bld.add_post_fun(printstats)