summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-14 13:02:37 -0500
committerAbderrahim Kitouni <a.kitouni@gmail.com>2019-04-12 14:58:11 +0000
commit28eecdf97545353fa9f00845305e6b4879b4d438 (patch)
tree799b0046cd977c8bfffa4615e99c85e3dea9bad1
parent08612a55689515ed6471ec673507e340e68f2280 (diff)
downloadbuildstream-abderrahim/backport-scheduler-fixes.tar.gz
_artifactcache/artifactcache.py: Rephrase failure messageabderrahim/backport-scheduler-fixes
It was saying "There is not enough space to build the given element.", this makes me think the error is associated to a specific element, but this does not make sense to show up in a cleanup task. Instead say "There is not enough space to complete the build.", which should be more clear that even after cleaning up there is not enough space.
-rw-r--r--buildstream/_artifactcache/artifactcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index 9b5df1d26..965d6e132 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -273,7 +273,7 @@ class ArtifactCache():
# FIXME: Asking the user what to do may be neater
default_conf = os.path.join(os.environ['XDG_CONFIG_HOME'],
'buildstream.conf')
- detail = ("There is not enough space to build the given element.\n"
+ detail = ("There is not enough space to complete the build.\n"
"Please increase the cache-quota in {}."
.format(self.context.config_origin or default_conf))