summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/element.py')
-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