diff options
author | Raoul Hidalgo Charman <raoul.hidalgocharman@codethink.co.uk> | 2019-01-25 16:43:36 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-02-19 17:05:17 +0000 |
commit | 5e10e2e81bee10bab56ed5b8190f8332170d7096 (patch) | |
tree | 6906d6b82a485ff592aca671c4ab51561e16ea5a /buildstream/_frontend/widget.py | |
parent | 4b62b9362870045a6203d01f2abf3e437bf23ae6 (diff) | |
download | buildstream-5e10e2e81bee10bab56ed5b8190f8332170d7096.tar.gz |
CASQuota: Move cache check methods into new Classraoul/870-root-cache-dir
This sits in Context allowing artifact cache to check the cas quota
while not being used for CASServer.
A lot of code that checks cache quota has been touched.
Part of #870
Diffstat (limited to 'buildstream/_frontend/widget.py')
-rw-r--r-- | buildstream/_frontend/widget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py index 9d1467178..d1df06284 100644 --- a/buildstream/_frontend/widget.py +++ b/buildstream/_frontend/widget.py @@ -486,7 +486,7 @@ class LogLine(Widget): values["Session Start"] = starttime.strftime('%A, %d-%m-%Y at %H:%M:%S') values["Project"] = "{} ({})".format(project.name, project.directory) values["Targets"] = ", ".join([t.name for t in stream.targets]) - values["Cache Usage"] = "{}".format(context.get_artifact_cache_usage()) + values["Cache Usage"] = "{}".format(context.get_cache_usage()) text += self._format_values(values) # User configurations |