This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch jennis/cache_quota in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 52cddcb34642cccb022d5a2d5195eaf03417d573 Author: James Ennis <[email protected]> AuthorDate: Thu Apr 18 15:24:07 2019 +0100 cascache.py: Pretty print the cache quota --- buildstream/_cas/cascache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildstream/_cas/cascache.py b/buildstream/_cas/cascache.py index 5f67dc0..8d8f3f0 100644 --- a/buildstream/_cas/cascache.py +++ b/buildstream/_cas/cascache.py @@ -70,7 +70,7 @@ class CASCacheUsage(): def __str__(self): return "{} / {} ({}%)" \ .format(utils._pretty_size(self.used_size, dec_places=1), - self.quota_config, + utils._pretty_size(self.quota_size, dec_places=1), self.used_percent)
