summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2020-01-16 12:10:38 +0000
committerDarius Makovsky <traveltissues@protonmail.com>2020-01-16 12:49:34 +0000
commit7e7e2e65b22204d989993d0dcddfef7fe008f6f8 (patch)
tree3ebd481e6f1838f9185b419642e62b39336a291e
parentb97e32612da29addcadf2e1aa2d11b2ab5908b25 (diff)
downloadbuildstream-traveltissues/mr4.tar.gz
element: always attempt to save the workspace configtraveltissues/mr4
Save the workspace config if the element is cached and workspaced regardless of the success of the build.
-rw-r--r--src/buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 6ba35953e..6e263f706 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -1570,7 +1570,7 @@ class Element(Plugin):
self.__update_cache_key_non_strict()
self._update_ready_for_runtime_and_cached()
- if self._get_workspace() and self._cached_success():
+ if self._get_workspace() and self._cached():
assert utils._is_main_process(), "Attempted to save workspace configuration from child process"
#
# Note that this block can only happen in the