From 7e7e2e65b22204d989993d0dcddfef7fe008f6f8 Mon Sep 17 00:00:00 2001 From: Darius Makovsky Date: Thu, 16 Jan 2020 12:10:38 +0000 Subject: element: always attempt to save the workspace config Save the workspace config if the element is cached and workspaced regardless of the success of the build. --- src/buildstream/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1